Searched refs:bpf_get_stackid (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | perf_event_stackmap.c | 37 val = bpf_get_stackid(ctx, &stackmap, 0); in oncpu() 40 val = bpf_get_stackid(ctx, &stackmap, BPF_F_USER_STACK); in oncpu()
|
D | strobemeta.h | 602 sample->kernel_stack_id = bpf_get_stackid(ctx, &stacks_1, 0); in on_event() 603 sample->user_stack_id = bpf_get_stackid(ctx, &stacks_1, BPF_F_USER_STACK); in on_event() 605 sample->kernel_stack_id = bpf_get_stackid(ctx, &stacks_0, 0); in on_event() 606 sample->user_stack_id = bpf_get_stackid(ctx, &stacks_0, BPF_F_USER_STACK); in on_event()
|
D | stacktrace_map_skip.c | 49 key = bpf_get_stackid(ctx, &stackmap, TEST_STACK_DEPTH); in oncpu()
|
D | test_stacktrace_build_id.c | 55 key = bpf_get_stackid(args, &stackmap, BPF_F_USER_STACK); in oncpu()
|
D | test_stacktrace_map.c | 65 key = bpf_get_stackid(ctx, &stackmap, 0); in oncpu()
|
D | pyperf.h | 238 event->user_stack_id = bpf_get_stackid(ctx, &stackmap, BPF_F_USER_STACK); in __on_event() 239 event->kernel_stack_id = bpf_get_stackid(ctx, &stackmap, 0); in __on_event()
|
/linux-6.1.9/samples/bpf/ |
D | trace_event_kern.c | 54 key.kernstack = bpf_get_stackid(ctx, &stackmap, KERN_STACKID_FLAGS); in bpf_prog1() 55 key.userstack = bpf_get_stackid(ctx, &stackmap, USER_STACKID_FLAGS); in bpf_prog1()
|
D | offwaketime_kern.c | 77 woke.ret = bpf_get_stackid(ctx, &stackmap, STACKID_FLAGS); in waker() 91 key.tret = bpf_get_stackid(ctx, &stackmap, STACKID_FLAGS); in update_counts()
|
D | spintest_kern.c | 44 bpf_get_stackid(ctx, &stackmap, BPF_F_REUSE_STACKID); \
|
/linux-6.1.9/tools/perf/util/bpf_skel/ |
D | lock_contention.bpf.c | 121 pelem->stack_id = bpf_get_stackid(ctx, &stacks, BPF_F_FAST_STACK_CMP | stack_skip); in contention_begin()
|
D | off_cpu.bpf.c | 197 stack_id = bpf_get_stackid(ctx, &stacks, in off_cpu_stat()
|
/linux-6.1.9/kernel/bpf/ |
D | stackmap.c | 283 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3() argument 311 .func = bpf_get_stackid, 342 return bpf_get_stackid((unsigned long)(ctx->regs), in BPF_CALL_3()
|
/linux-6.1.9/kernel/trace/ |
D | bpf_trace.c | 79 u64 bpf_get_stackid(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5); 1603 return bpf_get_stackid((unsigned long) regs, (unsigned long) map, in BPF_CALL_3() 1833 ret = bpf_get_stackid((unsigned long) regs, (unsigned long) map, in BPF_CALL_3()
|