aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2019-10-17 23:09:33 -0700
committerDaniel Borkmann <[email protected]>2019-10-18 20:55:54 +0200
commitc108e3c1bdbd0783d7c19ee80abb0591f79029e8 (patch)
tree726b10886246a205b1bf14d0d5b87f8d7b2b971c /tools/perf/scripts/python/exported-sql-viewer.py
parent47a92ae074c3d166fa6476d1dfe581bc0356352e (diff)
bpf: Fix bpf_attr.attach_btf_id check
Only raw_tracepoint program type can have bpf_attr.attach_btf_id >= 0. Make sure to reject other program types that accidentally set it to non-zero. Fixes: ccfe29eb29c2 ("bpf: Add attach_btf_id attribute to program load") Reported-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions