From: Yong Zhang <yong.zhang0@gmail.com>
To: Thomas Renninger <trenn@suse.de>
Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org,
linux-pm@lists.linux-foundation.org, discuss@lesswatts.org,
power@bughost.org, cpufreq@vger.kernel.org,
linux@dominikbrodowski.net, Mattia Dongili <malattia@linux.it>,
Len Brown <lenb@kernel.org>, Ingo Molnar <mingo@elte.hu>,
herrmann.der.user@googlemail.com, linux-omap@vger.kernel.org,
dri-devel@lists.freedesktop.org
Subject: Re: [ANNOUNCE] cpupowerutils - cpufrequtils extended with quite some features
Date: Sat, 12 Mar 2011 12:34:09 +0800 [thread overview]
Message-ID: <20110312043409.GA3634@zhy> (raw)
In-Reply-To: <201103111247.00212.trenn@suse.de>
On Fri, Mar 11, 2011 at 12:46:59PM +0100, Thomas Renninger wrote:
> Happy testing..., if you have a recent machine, you'll like it!
>
> After some testing phase it would be great to get this tool
> merged into the kernel git repo under:
> tools/power/cpupower
> and replace the Intel HW only supporting tools in tools/power/x86.
I got below output on my laptop:
|Mperf || Idle_Stats
CPU | C0 | Cx | Freq || POLL | C1 | C2 | C3
0| 36.00| 64.00| 820||1843411670376227.2|1843411670376692.2| 0.00| 0.00
1| 44.69| 55.31| 920|| 0.00| 0.00| 0.00| 0.00
Seems below patch fix it:
Thanks,
Yong
---
--- utils/helpers/sysfs-orig.c 2011-03-12 12:32:06.179827929 +0800
+++ utils/helpers/sysfs.c 2011-03-12 12:24:36.865599924 +0800
@@ -126,7 +126,7 @@
return 0;
}
- value = strtoul(linebuf, &endp, 0);
+ value = strtoull(linebuf, &endp, 0);
if ( endp == linebuf || errno == ERANGE )
return 0;
next prev parent reply other threads:[~2011-03-12 4:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-11 11:46 [ANNOUNCE] cpupowerutils - cpufrequtils extended with quite some features Thomas Renninger
2011-03-11 15:56 ` Corentin Chary
2011-03-12 0:18 ` Thomas Renninger
2011-03-12 4:34 ` Yong Zhang [this message]
2011-03-12 4:40 ` Yong Zhang
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=20110312043409.GA3634@zhy \
--to=yong.zhang0@gmail.com \
--cc=cpufreq@vger.kernel.org \
--cc=discuss@lesswatts.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=herrmann.der.user@googlemail.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=linux@dominikbrodowski.net \
--cc=malattia@linux.it \
--cc=mingo@elte.hu \
--cc=power@bughost.org \
--cc=trenn@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).