Skip to content

Commit

Permalink
bpf_selftests_fix_build_error
Browse files Browse the repository at this point in the history
Closes: multipath-tcp#76
Signed-off-by: Geliang Tang <[email protected]>
  • Loading branch information
Geliang Tang committed Mar 25, 2024
1 parent 3d3c2cd commit 6a0e6e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/testing/selftests/bpf/benchs/bench_trigger.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 6a0e6e9

Please sign in to comment.