git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7482341
)
turbostat: Add a helper to parse a single int out of a file
author
Josh Triplett
<josh@joshtriplett.org>
Wed, 21 Aug 2013 00:20:16 +0000
(17:20 -0700)
committer
Len Brown
<len.brown@intel.com>
Sun, 19 Jan 2014 03:34:09 +0000
(22:34 -0500)
Many different chunks of code in turbostat open a file, parse a single
int out of it, and close it. Factor that out into a common function.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c
patch
|
blob
|
history
diff --cc
tools/power/x86/turbostat/turbostat.c
Simple merge