aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-04-08 09:00:44 +0000
committerLen Brown <[email protected]>2019-08-31 18:48:34 +0000
commit15423b958f33132152e209e98df0dedc7a78f22c (patch)
tree5ad0d282d9b81d88095b1c690313210da5436d8a /tools/perf/scripts/python/failed-syscalls-by-pid.py
parenttools/power turbostat: Make interval calculation per thread to reduce jitter (diff)
downloadkernel-15423b958f33132152e209e98df0dedc7a78f22c.tar.gz
kernel-15423b958f33132152e209e98df0dedc7a78f22c.zip
tools/power turbostat: fix leak of file descriptor on error return path
Currently the error return path does not close the file fp and leaks a file descriptor. Fix this by closing the file. Fixes: 5ea7647b333f ("tools/power turbostat: Warn on bad ACPI LPIT data") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions