From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Stefan Kuhne" Subject: Using collectd: CPUFreq in dom0 Date: Tue, 25 Dec 2012 19:55:37 +0100 Message-ID: <50D9F6A9.8030008@access.denied> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2282008641029487439==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============2282008641029487439== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD849841BB43F4B1132E72E12" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD849841BB43F4B1132E72E12 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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. 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 --------------enigD849841BB43F4B1132E72E12 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQ2fatAAoJEFLNPgL3IBVXiK0H/02nuW7aT9mh0aiwLU/Ur5sg I6xrwfuDpTmSlCpNdfpN9rMma8XRFXHOuQBjkTfSADn8x2yzTWFlw6H8/mlZruas dlfxUsaA7Zp/No0XX9YLzKkPF5d9F1QgJbUMBdZ/2ctAeYE7SvR5LOW61LIXcLEc TeP8FymLmigL9OBnjueKLXcQ3ktud5jQTr17bXXkk1p+S/joexyiaTJelcmVrjGw JHxB9RUfKpXTxp84ueI4IMl+dW5J/jAPf+iPDeuch+G6ixqG6rhdpkHqx9rDOkMQ bqdijaAjWRDRhfyig1gzMNWC6kbZKK1YJ/a+7SGrdV9XWF1VlP+hSwgMH8cjW4k= =YrEE -----END PGP SIGNATURE----- --------------enigD849841BB43F4B1132E72E12-- --===============2282008641029487439== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============2282008641029487439==--