Home
last modified time | relevance | path

Searched refs:attach_bpf (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_rename.c63 static void attach_bpf(struct bpf_program *prog) in attach_bpf() function
82 attach_bpf(ctx.skel->progs.prog1); in setup_kprobe()
88 attach_bpf(ctx.skel->progs.prog2); in setup_kretprobe()
94 attach_bpf(ctx.skel->progs.prog3); in setup_rawtp()
100 attach_bpf(ctx.skel->progs.prog4); in setup_fentry()
106 attach_bpf(ctx.skel->progs.prog5); in setup_fexit()
H A Dbench_trigger.c161 static void attach_bpf(struct bpf_program *prog) in attach_bpf() function
193 attach_bpf(ctx.skel->progs.bench_trigger_kprobe); in trigger_kprobe_setup()
201 attach_bpf(ctx.skel->progs.bench_trigger_kretprobe); in trigger_kretprobe_setup()
209 attach_bpf(ctx.skel->progs.bench_trigger_kprobe_multi); in trigger_kprobe_multi_setup()
217 attach_bpf(ctx.skel->progs.bench_trigger_kretprobe_multi); in trigger_kretprobe_multi_setup()
225 attach_bpf(ctx.skel->progs.bench_trigger_fentry); in trigger_fentry_setup()
233 attach_bpf(ctx.skel->progs.bench_trigger_fexit); in trigger_fexit_setup()
245 attach_bpf(ctx.skel->progs.bench_trigger_fmodret); in trigger_fmodret_setup()
257 attach_bpf(ctx.skel->progs.bench_trigger_tp); in trigger_tp_setup()
269 attach_bpf(ctx.skel->progs.bench_trigger_rawtp); in trigger_rawtp_setup()
/linux/tools/testing/selftests/bpf/
H A Dtest_tunnel.sh247 attach_bpf $DEV gre_set_tunnel gre_get_tunnel
271 attach_bpf $DEV gre_set_tunnel_no_key gre_get_tunnel
296 attach_bpf $DEV ip6gretap_set_tunnel ip6gretap_get_tunnel
325 attach_bpf $DEV ip6gretap_set_tunnel ip6gretap_get_tunnel
354 attach_bpf $DEV erspan_set_tunnel erspan_get_tunnel
378 attach_bpf $DEV ip4ip6erspan_set_tunnel ip4ip6erspan_get_tunnel
401 attach_bpf $DEV geneve_set_tunnel geneve_get_tunnel
425 attach_bpf $DEV ip6geneve_set_tunnel ip6geneve_get_tunnel
450 attach_bpf $DEV ipip_set_tunnel ipip_get_tunnel
475 attach_bpf $DEV ipip6_set_tunnel ipip6_get_tunnel
[all …]
/linux/samples/bpf/
H A Dtest_cgrp2_sock2.sh41 function attach_bpf { function
65 attach_bpf 0
86 attach_bpf 1
/linux/tools/testing/selftests/net/
H A Dreuseport_bpf_cpu.c77 static void attach_bpf(int fd) in attach_bpf() function
190 attach_bpf(rcv_fd[0]); in test()
H A Dreuseport_bpf_numa.c73 static void attach_bpf(int fd) in attach_bpf() function
200 attach_bpf(rcv_fd[0]); in test()
H A Dreuseport_bpf.c151 void (*attach_bpf)(int, uint16_t)) in build_recv_group()
168 attach_bpf(fd[i], mod); in build_recv_group()