diff options
author | 2019-03-20 23:01:03 -0400 | |
---|---|---|
committer | 2019-03-20 23:02:27 -0400 | |
commit | 8173c336989c1a12290cd023969df2775b2df34d (patch) | |
tree | 75937b51dee0c58023489cc780351383840cad1c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/power turbostat: Also read package power on AMD F17h (Zen) (diff) | |
download | wireguard-linux-8173c336989c1a12290cd023969df2775b2df34d.tar.xz wireguard-linux-8173c336989c1a12290cd023969df2775b2df34d.zip |
tools/power turbostat: Add checks for failure of fgets() and fscanf()
Most calls to fgets() and fscanf() are followed by error checks.
Add an exit-on-error in the remaining cases.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions