summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorMykyta Yatsenko <yatsenko@meta.com>2025-03-17 17:40:39 +0000
committerAndrii Nakryiko <andrii@kernel.org>2025-03-17 13:45:12 -0700
commita024843d92cca491034dac648bcfec967199a4a4 (patch)
tree62436d27fd49365a4db2b9fa92065b6aabbca28c /tools/perf/scripts/python/call-graph-from-sql.py
parent974ef9f0d23edc1a802691c585b84514b414a96d (diff)
downloadlinux-a024843d92cca491034dac648bcfec967199a4a4.tar.gz
linux-a024843d92cca491034dac648bcfec967199a4a4.tar.bz2
linux-a024843d92cca491034dac648bcfec967199a4a4.zip
selftests/bpf: Test freplace from user namespace
Add selftests to verify that it is possible to load freplace program from user namespace if BPF token is initialized by bpf_object__prepare before calling bpf_program__set_attach_target. Negative test is added as well. Modified type of the priv_prog to xdp, as kprobe did not work on aarch64 and s390x. Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/bpf/20250317174039.161275-5-mykyta.yatsenko5@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions