Home
last modified time | relevance | path

Searched refs:bpf_cookie (Results 1 – 14 of 14) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
A Dbpf_cookie.c18 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 Dlibbpf.h300 __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 Dbpf.h182 __u64 bpf_cookie; member
A Dbpf.c749 attr.link_create.perf_event.bpf_cookie = OPTS_GET(opts, perf_event.bpf_cookie, 0); in bpf_link_create()
A Dlibbpf.c9453 .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 Dtrace_events.h728 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 Dbpf.h1156 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 Dperf_event.h768 u64 bpf_cookie; member
/linux/kernel/trace/
A Dbpf_trace.c1044 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 Dcore.c2138 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 Dsyscall.c3002 err = perf_event_set_bpf_prog(event, prog, attr->link_create.perf_event.bpf_cookie); in bpf_perf_link_attach()
/linux/kernel/events/
A Dcore.c10001 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 Dbpf.h1464 __u64 bpf_cookie; member
/linux/include/uapi/linux/
A Dbpf.h1464 __u64 bpf_cookie; member

Completed in 109 milliseconds