diff options
author | 2012-11-15 14:02:00 -0500 | |
---|---|---|
committer | 2012-11-30 01:09:44 -0500 | |
commit | 84764a415c707b43e751deb579a421776f190a95 (patch) | |
tree | d6afd249ae50ee2ff46cf4285c22d310ac100b0c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/power turbostat: v3.0: monitor Watts and Temperature (diff) | |
download | linux-dev-84764a415c707b43e751deb579a421776f190a95.tar.xz linux-dev-84764a415c707b43e751deb579a421776f190a95.zip |
tools/power x86_energy_perf_policy: close /proc/stat in for_every_cpu()
Instead of returning out of for_every_cpu() we should break out of the loop=
which will then tidy up correctly by closing the file /proc/stat.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
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