aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorPeter Wu <[email protected]>2019-08-09 01:39:11 +0100
committerDaniel Borkmann <[email protected]>2019-08-12 11:07:16 +0200
commita664a834579ae8a6166ac9e5a3232976cab2c24d (patch)
tree297da431ae1c5022c9fc104033d0fcd6ed4d6d51 /tools/perf/scripts/python/check-perf-trace.py
parent9f30cd568b392051e0dcfa69b7f8d6021b41ed2a (diff)
tools: bpftool: fix reading from /proc/config.gz
/proc/config has never existed as far as I can see, but /proc/config.gz is present on Arch Linux. Add support for decompressing config.gz using zlib which is a mandatory dependency of libelf anyway. Replace existing stdio functions with gzFile operations since the latter transparently handles uncompressed and gzip-compressed files. Cc: Quentin Monnet <[email protected]> Signed-off-by: Peter Wu <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions