aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c
diff options
context:
space:
mode:
authorMatt Mullins <mmullins@fb.com>2019-04-26 11:49:51 -0700
committerAlexei Starovoitov <ast@kernel.org>2019-04-26 19:04:19 -0700
commite950e843367d7990b9d7ea964e3c33876d477c4b (patch)
tree9fe461c7f01adec95c4f66d9a4748afa3348643b /tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c
parenttools: sync bpf.h (diff)
downloadlinux-dev-e950e843367d7990b9d7ea964e3c33876d477c4b.tar.xz
linux-dev-e950e843367d7990b9d7ea964e3c33876d477c4b.zip
selftests: bpf: test writable buffers in raw tps
This tests that: * a BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE cannot be attached if it uses either: * a variable offset to the tracepoint buffer, or * an offset beyond the size of the tracepoint buffer * a tracer can modify the buffer provided when attached to a writable tracepoint in bpf_prog_test_run Signed-off-by: Matt Mullins <mmullins@fb.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c')
0 files changed, 0 insertions, 0 deletions