Home
last modified time | relevance | path

Searched refs:attach_mode (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dattach_probe.c38 static void test_attach_probe_manual(enum probe_attach_mode attach_mode) in test_attach_probe_manual()
56 kprobe_opts.attach_mode = attach_mode; in test_attach_probe_manual()
74 uprobe_opts.attach_mode = attach_mode; in test_attach_probe_manual()
127 static void test_attach_kprobe_by_addr(enum probe_attach_mode attach_mode) in test_attach_probe_auto()
144 kprobe_opts.attach_mode = attach_mode; in test_attach_probe_auto()
188 kprobe_opts.attach_mode = PROBE_ATTACH_MODE_LEGACY; in test_uprobe_lib()
210 static void test_attach_probe_dup_sym(enum probe_attach_mode attach_mode) in test_uprobe_ref_ctr()
37 test_attach_probe_manual(enum probe_attach_mode attach_mode) test_attach_probe_manual() argument
[all...]
H A Dfill_link_info.c176 .attach_mode = PROBE_ATTACH_MODE_LINK, in test_kprobe_fill_link_info()
/linux/tools/lib/bpf/
H A Dnetlink.c36 __u8 attach_mode; member
382 xdp_id->info.attach_mode = libbpf_nla_getattr_u8( in get_xdp_info()
385 if (xdp_id->info.attach_mode == XDP_ATTACHED_NONE) in get_xdp_info()
471 OPTS_SET(opts, attach_mode, xdp_id.info.attach_mode); in bpf_xdp_query()
519 if (opts.attach_mode != XDP_ATTACHED_MULTI && !flags) in bpf_xdp_query_id()
H A Dlibbpf.c11970 enum probe_attach_mode attach_mode; in bpf_program__attach_kprobe_opts() local
11980 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT); in bpf_program__attach_kprobe_opts()
11986 switch (attach_mode) { in bpf_program__attach_kprobe_opts()
13203 enum probe_attach_mode attach_mode; in bpf_program__attach_uprobe_opts() local
13214 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT); in bpf_program__attach_uprobe_opts()
13256 switch (attach_mode) { in bpf_program__attach_uprobe_opts()
/linux/tools/testing/selftests/bpf/
H A Dxsk.c293 return opts.attach_mode == XDP_ATTACHED_DRV; in xsk_is_in_mode()
295 return opts.attach_mode == XDP_ATTACHED_SKB; in xsk_is_in_mode()