From 067d99dd52bd0de993a3349a9a47bb8ec8f049f0 Mon Sep 17 00:00:00 2001 From: Geliang Tang Date: Mon, 18 Mar 2024 13:45:26 +0800 Subject: [PATCH] bpf_selftests_fix_build_error Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/76 Signed-off-by: Geliang Tang --- tools/testing/selftests/bpf/benchs/bench_trigger.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests/bpf/benchs/bench_trigger.c b/tools/testing/selftests/bpf/benchs/bench_trigger.c index ace0d1011a8e5..81a6b3d8a6fcd 100644 --- a/tools/testing/selftests/bpf/benchs/bench_trigger.c +++ b/tools/testing/selftests/bpf/benchs/bench_trigger.c @@ -88,19 +88,19 @@ static void trigger_kprobe_setup(void) static void trigger_kretprobe_setup(void) { setup_ctx(); - attach_bpf(ctx.skel->progs.bench_trigger_kretprobe); + //attach_bpf(ctx.skel->progs.bench_trigger_kretprobe); } static void trigger_kprobe_multi_setup(void) { setup_ctx(); - attach_bpf(ctx.skel->progs.bench_trigger_kprobe_multi); + //attach_bpf(ctx.skel->progs.bench_trigger_kprobe_multi); } static void trigger_kretprobe_multi_setup(void) { setup_ctx(); - attach_bpf(ctx.skel->progs.bench_trigger_kretprobe_multi); + //attach_bpf(ctx.skel->progs.bench_trigger_kretprobe_multi); } static void trigger_fentry_setup(void) @@ -112,7 +112,7 @@ static void trigger_fentry_setup(void) static void trigger_fexit_setup(void) { setup_ctx(); - attach_bpf(ctx.skel->progs.bench_trigger_fexit); + //attach_bpf(ctx.skel->progs.bench_trigger_fexit); } static void trigger_fentry_sleep_setup(void)