All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Stefan Kuhne <stefan.kuhne@gmx.net>
Cc: xen-devel@lists.xen.org
Subject: Re: Using collectd: CPUFreq in dom0
Date: Fri, 4 Jan 2013 16:11:43 -0500	[thread overview]
Message-ID: <20130104211143.GA7996@phenom.dumpdata.com> (raw)
In-Reply-To: <50D9F6A9.8030008@access.denied>

On Tue, Dec 25, 2012 at 07:55:37PM +0100, Stefan Kuhne wrote:
> Hello,
> 
> I've tried to get the CPUFreq plugin of collectd running in dom0.
> But I mentioned that it isn't so easy to get a file in sysfs on the
> rigth place.
> 
> I know that the value has to come from hypervisor and I've seen the code
> in xenpm.

Right. Did you look in the source code from xenpm?
> 
> The only value I need is
> "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" which would
> create cpufreq.c.
> 
> Can anyone help me by giving me some hints?
> I've read many websites and papers and coded many things.
> I'm glade to get the sysfs file.
> 
> With "sysfs_create..." I've many trouble but "kobject_add" works fine.
> 
> Regards,
> Stefan Kuhne
> 



> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  reply	other threads:[~2013-01-04 21:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-25 18:55 Using collectd: CPUFreq in dom0 Stefan Kuhne
2013-01-04 21:11 ` Konrad Rzeszutek Wilk [this message]
2013-01-04 21:29   ` Stefan Kuhne
2013-01-07  6:54     ` Jan Beulich
2013-01-07 15:53     ` Konrad Rzeszutek Wilk
2013-01-07 16:27       ` Sander Eikelenboom
2013-01-07 19:13         ` Konrad Rzeszutek Wilk
2013-01-07 19:20           ` Sander Eikelenboom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130104211143.GA7996@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=stefan.kuhne@gmx.net \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.