summaryrefslogtreecommitdiffstats
path: root/tools/net
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2013-08-21 02:20:16 +0200
committerLen Brown <len.brown@intel.com>2014-01-19 04:34:09 +0100
commit95aebc44e73b05d4e95774b983a63909de638808 (patch)
tree90b0ae555877d88f166d651fb938c58b24d301ed /tools/net
parentturbostat: Check return value of fscanf (diff)
downloadlinux-95aebc44e73b05d4e95774b983a63909de638808.tar.xz
linux-95aebc44e73b05d4e95774b983a63909de638808.zip
turbostat: Add a helper to parse a single int out of a file
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>
Diffstat (limited to 'tools/net')
0 files changed, 0 insertions, 0 deletions