diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-07-23 14:34:41 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-07-23 16:05:42 -0700 |
commit | 58b80815362ef18f528e17711f0abec842f56d59 (patch) | |
tree | 2d50050e2b574a97ac5dcc5abc43385215c38948 /tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c | |
parent | libbpf: provide more helpful message on uninitialized global var (diff) | |
download | linux-dev-58b80815362ef18f528e17711f0abec842f56d59.tar.xz linux-dev-58b80815362ef18f528e17711f0abec842f56d59.zip |
selftests/bpf: convert test_get_stack_raw_tp to perf_buffer API
Convert test_get_stack_raw_tp test to new perf_buffer API.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c b/tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c index 33254b771384..f8ffa3f3d44b 100644 --- a/tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c +++ b/tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c @@ -55,7 +55,7 @@ struct { __type(value, raw_stack_trace_t); } rawdata_map SEC(".maps"); -SEC("tracepoint/raw_syscalls/sys_enter") +SEC("raw_tracepoint/sys_enter") int bpf_prog1(void *ctx) { int max_len, max_buildid_len, usize, ksize, total_size; |