Searched refs:bpf_cookie (Results 1 – 14 of 14) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | bpf_cookie.c | 18 opts.bpf_cookie = 0x1; in kprobe_subtest() 25 opts.bpf_cookie = 0x2; in kprobe_subtest() 33 opts.bpf_cookie = 0x10; in kprobe_subtest() 40 opts.bpf_cookie = 0x20; in kprobe_subtest() 72 opts.bpf_cookie = 0x100; in uprobe_subtest() 79 opts.bpf_cookie = 0x200; in uprobe_subtest() 87 opts.bpf_cookie = 0x1000; in uprobe_subtest() 94 opts.bpf_cookie = 0x2000; in uprobe_subtest() 120 opts.bpf_cookie = 0x10000; in tp_subtest() 127 opts.bpf_cookie = 0x20000; in tp_subtest() [all …]
|
/linux/tools/lib/bpf/ |
A D | libbpf.h | 300 __u64 bpf_cookie; member 302 #define bpf_perf_event_opts__last_field bpf_cookie 315 __u64 bpf_cookie; member 340 __u64 bpf_cookie; member 360 __u64 bpf_cookie; member 362 #define bpf_tracepoint_opts__last_field bpf_cookie
|
A D | bpf.h | 182 __u64 bpf_cookie; member
|
A D | bpf.c | 749 attr.link_create.perf_event.bpf_cookie = OPTS_GET(opts, perf_event.bpf_cookie, 0); in bpf_link_create()
|
A D | libbpf.c | 9453 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in bpf_program__attach_perf_event_opts() 9465 if (OPTS_GET(opts, bpf_cookie, 0)) { in bpf_program__attach_perf_event_opts() 9725 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_kprobe_opts() 9918 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_uprobe_opts() 10046 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_tracepoint_opts()
|
/linux/include/linux/ |
A D | trace_events.h | 728 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie); 745 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) in perf_event_attach_bpf_prog() argument 856 int perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie);
|
A D | bpf.h | 1156 u64 bpf_cookie; member 1183 u64 bpf_cookie, 1195 u64 bpf_cookie; member 1300 run_ctx.bpf_cookie = item->bpf_cookie; in BPF_PROG_RUN_ARRAY()
|
A D | perf_event.h | 768 u64 bpf_cookie; member
|
/linux/kernel/trace/ |
A D | bpf_trace.c | 1044 return run_ctx->bpf_cookie; in BPF_CALL_1() 1056 return ctx->event->bpf_cookie; in BPF_CALL_1() 1795 u64 bpf_cookie) in perf_event_attach_bpf_prog() argument 1822 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array); in perf_event_attach_bpf_prog() 1828 event->bpf_cookie = bpf_cookie; in perf_event_attach_bpf_prog()
|
/linux/kernel/bpf/ |
A D | core.c | 2138 u64 bpf_cookie, in bpf_prog_array_copy() argument 2192 new->bpf_cookie = existing->bpf_cookie; in bpf_prog_array_copy() 2198 new->bpf_cookie = bpf_cookie; in bpf_prog_array_copy()
|
A D | syscall.c | 3002 err = perf_event_set_bpf_prog(event, prog, attr->link_create.perf_event.bpf_cookie); in bpf_perf_link_attach()
|
/linux/kernel/events/ |
A D | core.c | 10001 u64 bpf_cookie) in perf_event_set_bpf_handler() argument 10031 event->bpf_cookie = bpf_cookie; in perf_event_set_bpf_handler() 10051 u64 bpf_cookie) in perf_event_set_bpf_handler() argument 10080 u64 bpf_cookie) in perf_event_set_bpf_prog() argument 10085 return perf_event_set_bpf_handler(event, prog, bpf_cookie); in perf_event_set_bpf_prog() 10111 return perf_event_attach_bpf_prog(event, prog, bpf_cookie); in perf_event_set_bpf_prog() 10134 u64 bpf_cookie) in perf_event_set_bpf_prog() argument
|
/linux/tools/include/uapi/linux/ |
A D | bpf.h | 1464 __u64 bpf_cookie; member
|
/linux/include/uapi/linux/ |
A D | bpf.h | 1464 __u64 bpf_cookie; member
|
Completed in 109 milliseconds