summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2019-07-23 16:05:53 -0700
committerAlexei Starovoitov <ast@kernel.org>2019-07-23 16:05:54 -0700
commit5e31d507da6c85c4ab1e771ce34f1fc609233b36 (patch)
tree69ced9b03d53bd12aa7ef2f6c23af397a2834fb4 /tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c
parentf2a3e4e95f408314938d37fa3146a9f7b304ce74 (diff)
parent47da6e4dc3d37fefd913233c71575666c96491b5 (diff)
Merge branch 'convert-tests-to-libbpf'
Andrii Nakryiko says: ==================== There were few more tests and samples that were using custom perf buffer setup code from trace_helpers.h. This patch set gets rid of all the usages of those and removes helpers themselves. Libbpf provides nicer, but equally powerful set of APIs to work with perf ring buffers, so let's have all the samples use v1->v2: - make logging message one long line instead of two (Song). ==================== Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c')
-rw-r--r--tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c2
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;