summaryrefslogtreecommitdiff
path: root/tools/perf/tests/bpf-script-example.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
-rw-r--r--tools/perf/tests/bpf-script-example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/bpf-script-example.c b/tools/perf/tests/bpf-script-example.c
index 7981c69ed1b4..b638cc99d5ae 100644
--- a/tools/perf/tests/bpf-script-example.c
+++ b/tools/perf/tests/bpf-script-example.c
@@ -43,7 +43,7 @@ struct {
__type(value, int);
} flip_table SEC(".maps");
-SEC("func=do_epoll_wait")
+SEC("syscalls:sys_enter_epoll_pwait")
int bpf_func__SyS_epoll_pwait(void *ctx)
{
int ind =0;