diff options
author | 2013-08-20 17:20:16 -0700 | |
---|---|---|
committer | 2014-01-18 22:34:09 -0500 | |
commit | 95aebc44e73b05d4e95774b983a63909de638808 (patch) | |
tree | 90b0ae555877d88f166d651fb938c58b24d301ed /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | turbostat: Check return value of fscanf (diff) | |
download | wireguard-linux-95aebc44e73b05d4e95774b983a63909de638808.tar.xz wireguard-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 '')
0 files changed, 0 insertions, 0 deletions