/linux-master/tools/bpf/bpftool/skeleton/ |
H A D | pid_iter.h | 9 __u64 bpf_cookie; member in struct:pid_iter_entry
|
H A D | pid_iter.bpf.c | 24 u64 bpf_cookie; member in struct:perf_event___local 62 return BPF_CORE_READ(event, bpf_cookie); 108 e.bpf_cookie = get_bpf_cookie(link);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_cookie.c | 29 opts.bpf_cookie = 0x1; 36 opts.bpf_cookie = 0x2; 44 opts.bpf_cookie = 0x10; 51 opts.bpf_cookie = 0x20; 330 opts.bpf_cookie = 0x100; 337 opts.bpf_cookie = 0x200; 345 opts.bpf_cookie = 0x1000; 352 opts.bpf_cookie = 0x2000; 378 opts.bpf_cookie = 0x10000; 385 opts.bpf_cookie [all...] |
H A D | fill_link_info.c | 156 .bpf_cookie = PERF_EVENT_COOKIE, 182 .bpf_cookie = PERF_EVENT_COOKIE, 200 .bpf_cookie = PERF_EVENT_COOKIE, 235 .bpf_cookie = PERF_EVENT_COOKIE,
|
/linux-master/tools/bpf/bpftool/ |
H A D | pids.c | 82 refs->bpf_cookie = e->bpf_cookie; 211 jsonw_lluint_field(json_writer, "bpf_cookie", refs->bpf_cookie); 243 printf("\n\tbpf_cookie %llu", (unsigned long long) refs->bpf_cookie);
|
H A D | main.h | 109 __u64 bpf_cookie; member in struct:obj_refs
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.h | 475 __u64 bpf_cookie; member in struct:bpf_perf_event_opts 510 __u64 bpf_cookie; member in struct:bpf_kprobe_opts 607 __u64 bpf_cookie; member in struct:bpf_ksyscall_opts 657 __u64 bpf_cookie; member in struct:bpf_uprobe_opts 749 __u64 bpf_cookie; member in struct:bpf_tracepoint_opts 751 #define bpf_tracepoint_opts__last_field bpf_cookie
|
H A D | bpf.h | 401 __u64 bpf_cookie; member in struct:bpf_link_create_opts::__anon3314::__anon3315
|
H A D | bpf.c | 764 attr.link_create.perf_event.bpf_cookie = OPTS_GET(opts, perf_event.bpf_cookie, 0);
|
H A D | usdt.c | 278 * Added in: 7adfc6c9b315 ("bpf: Add bpf_get_attach_cookie() BPF helper to access bpf_cookie value") 1074 opts.bpf_cookie = man->has_bpf_cookie ? spec_id : 0;
|
H A D | libbpf.c | 10628 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); 10640 if (OPTS_GET(opts, bpf_cookie, 0)) { 11015 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); 11125 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); 11875 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); 12210 pe_opts.bpf_cookie [all...] |
/linux-master/include/linux/ |
H A D | bpf.h | 1961 u64 bpf_cookie; member in union:bpf_prog_array_item::__anon1912 2003 u64 bpf_cookie, 2016 u64 bpf_cookie; member in struct:bpf_trace_run_ctx 2022 u64 bpf_cookie; member in struct:bpf_tramp_run_ctx 2072 run_ctx.bpf_cookie = item->bpf_cookie; 2118 run_ctx.bpf_cookie = item->bpf_cookie;
|
H A D | trace_events.h | 765 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie); 785 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) argument 909 int perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie);
|
H A D | perf_event.h | 815 u64 bpf_cookie; member in struct:perf_event
|
/linux-master/kernel/bpf/ |
H A D | bpf_lsm.c | 186 return run_ctx->bpf_cookie;
|
H A D | core.c | 2614 u64 bpf_cookie, 2668 new->bpf_cookie = existing->bpf_cookie; 2674 new->bpf_cookie = bpf_cookie; 2611 bpf_prog_array_copy(struct bpf_prog_array *old_array, struct bpf_prog *exclude_prog, struct bpf_prog *include_prog, u64 bpf_cookie, struct bpf_prog_array **new_array) argument
|
H A D | syscall.c | 3278 u64 bpf_cookie) 3348 link->link.cookie = bpf_cookie; 3633 info->perf_event.kprobe.cookie = event->bpf_cookie; 3659 info->perf_event.uprobe.cookie = event->bpf_cookie; 3687 info->perf_event.tracepoint.cookie = event->bpf_cookie; 3696 info->perf_event.event.cookie = event->bpf_cookie; 3760 err = perf_event_set_bpf_prog(event, prog, attr->link_create.perf_event.bpf_cookie); 5803 run_ctx.bpf_cookie = 0; 3275 bpf_tracing_prog_attach(struct bpf_prog *prog, int tgt_prog_fd, u32 btf_id, u64 bpf_cookie) argument
|
/linux-master/kernel/trace/ |
H A D | bpf_trace.c | 1146 return run_ctx->bpf_cookie; 1158 return ctx->event->bpf_cookie; 1173 return run_ctx->bpf_cookie; 2235 u64 bpf_cookie) 2262 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array); 2268 event->bpf_cookie = bpf_cookie; 2233 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) argument
|
/linux-master/kernel/events/ |
H A D | core.c | 10457 u64 bpf_cookie) 10487 event->bpf_cookie = bpf_cookie; 10507 u64 bpf_cookie) 10536 u64 bpf_cookie) 10541 return perf_event_set_bpf_handler(event, prog, bpf_cookie); 10571 return perf_event_attach_bpf_prog(event, prog, bpf_cookie); 10594 u64 bpf_cookie) 10455 perf_event_set_bpf_handler(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) argument 10505 perf_event_set_bpf_handler(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) argument 10535 perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) argument 10593 perf_event_set_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) argument
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 1725 __u64 bpf_cookie; member in struct:bpf_attr::__anon2609::__anon2612::__anon2614 5262 * Get bpf_cookie value provided (optionally) during the program
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 1725 __u64 bpf_cookie; member in struct:bpf_attr::__anon3150::__anon3153::__anon3155 5262 * Get bpf_cookie value provided (optionally) during the program
|
/linux-master/arch/s390/net/ |
H A D | bpf_jit_comp.c | 2250 offsetof(struct bpf_tramp_run_ctx, bpf_cookie);
|
/linux-master/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 1821 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie);
|
/linux-master/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 708 int cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie);
|
/linux-master/arch/x86/net/ |
H A D | bpf_jit_comp.c | 2494 int ctx_cookie_off = offsetof(struct bpf_tramp_run_ctx, bpf_cookie);
|