summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/bpf.h
diff options
context:
space:
mode:
authorPrashant Bhole2019-04-10 06:56:42 +0200
committerDaniel Borkmann2019-04-11 10:21:39 +0200
commit569b0c77735d1567963cb4601390877b30458be4 (patch)
tree5c78391f4a9e22454d8d8432628090c45bc255e0 /include/uapi/linux/bpf.h
parentlibbpf: Fix build with gcc-8 (diff)
downloadkernel-qcow2-linux-569b0c77735d1567963cb4601390877b30458be4.tar.gz
kernel-qcow2-linux-569b0c77735d1567963cb4601390877b30458be4.tar.xz
kernel-qcow2-linux-569b0c77735d1567963cb4601390877b30458be4.zip
tools/bpftool: show btf id in program information
Let's add a way to know whether a program has btf context. Patch adds 'btf_id' in the output of program listing. When btf_id is present, it means program has btf context. Sample output: user@test# bpftool prog list 25: xdp name xdp_prog1 tag 539ec6ce11b52f98 gpl loaded_at 2019-04-10T11:44:20+0900 uid 0 xlated 488B not jited memlock 4096B map_ids 23 btf_id 1 Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'include/uapi/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions