aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/sysfs_btf.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2019-08-09 01:39:11 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-08-12 11:07:16 +0200
commita664a834579ae8a6166ac9e5a3232976cab2c24d (patch)
tree297da431ae1c5022c9fc104033d0fcd6ed4d6d51 /kernel/bpf/sysfs_btf.c
parentMerge branch 'bpf-xdp-fwd-sample-improvements' (diff)
downloadlinux-dev-a664a834579ae8a6166ac9e5a3232976cab2c24d.tar.xz
linux-dev-a664a834579ae8a6166ac9e5a3232976cab2c24d.zip
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 <quentin.monnet@netronome.com> Signed-off-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf/sysfs_btf.c')
0 files changed, 0 insertions, 0 deletions