Lines Matching refs:opts
13 DECLARE_LIBBPF_OPTS(bpf_kprobe_opts, opts); in kprobe_subtest()
18 opts.bpf_cookie = 0x1; in kprobe_subtest()
19 opts.retprobe = false; in kprobe_subtest()
21 SYS_NANOSLEEP_KPROBE_NAME, &opts); in kprobe_subtest()
25 opts.bpf_cookie = 0x2; in kprobe_subtest()
26 opts.retprobe = false; in kprobe_subtest()
28 SYS_NANOSLEEP_KPROBE_NAME, &opts); in kprobe_subtest()
33 opts.bpf_cookie = 0x10; in kprobe_subtest()
34 opts.retprobe = true; in kprobe_subtest()
36 SYS_NANOSLEEP_KPROBE_NAME, &opts); in kprobe_subtest()
40 opts.bpf_cookie = 0x20; in kprobe_subtest()
41 opts.retprobe = true; in kprobe_subtest()
43 SYS_NANOSLEEP_KPROBE_NAME, &opts); in kprobe_subtest()
62 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, opts); in uprobe_subtest()
72 opts.bpf_cookie = 0x100; in uprobe_subtest()
73 opts.retprobe = false; in uprobe_subtest()
75 "/proc/self/exe", uprobe_offset, &opts); in uprobe_subtest()
79 opts.bpf_cookie = 0x200; in uprobe_subtest()
80 opts.retprobe = false; in uprobe_subtest()
82 "/proc/self/exe", uprobe_offset, &opts); in uprobe_subtest()
87 opts.bpf_cookie = 0x1000; in uprobe_subtest()
88 opts.retprobe = true; in uprobe_subtest()
90 "/proc/self/exe", uprobe_offset, &opts); in uprobe_subtest()
94 opts.bpf_cookie = 0x2000; in uprobe_subtest()
95 opts.retprobe = true; in uprobe_subtest()
97 "/proc/self/exe", uprobe_offset, &opts); in uprobe_subtest()
116 DECLARE_LIBBPF_OPTS(bpf_tracepoint_opts, opts); in tp_subtest()
120 opts.bpf_cookie = 0x10000; in tp_subtest()
122 "syscalls", "sys_enter_nanosleep", &opts); in tp_subtest()
127 opts.bpf_cookie = 0x20000; in tp_subtest()
129 "syscalls", "sys_enter_nanosleep", &opts); in tp_subtest()
149 opts.bpf_cookie = 0x40000; in tp_subtest()
151 "syscalls", "sys_enter_nanosleep", &opts); in tp_subtest()
185 DECLARE_LIBBPF_OPTS(bpf_perf_event_opts, opts); in pe_subtest()
201 opts.bpf_cookie = 0x100000; in pe_subtest()
202 link = bpf_program__attach_perf_event_opts(skel->progs.handle_pe, pfd, &opts); in pe_subtest()
220 opts.bpf_cookie = 0x200000; in pe_subtest()
221 link = bpf_program__attach_perf_event_opts(skel->progs.handle_pe, pfd, &opts); in pe_subtest()