Home
last modified time | relevance | path

Searched refs:bpf_get_stackid (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dperf_event_stackmap.c37 val = bpf_get_stackid(ctx, &stackmap, 0); in oncpu()
40 val = bpf_get_stackid(ctx, &stackmap, BPF_F_USER_STACK); in oncpu()
Dstrobemeta.h602 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()
Dstacktrace_map_skip.c49 key = bpf_get_stackid(ctx, &stackmap, TEST_STACK_DEPTH); in oncpu()
Dtest_stacktrace_build_id.c55 key = bpf_get_stackid(args, &stackmap, BPF_F_USER_STACK); in oncpu()
Dtest_stacktrace_map.c65 key = bpf_get_stackid(ctx, &stackmap, 0); in oncpu()
Dpyperf.h238 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/
Dtrace_event_kern.c54 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()
Doffwaketime_kern.c77 woke.ret = bpf_get_stackid(ctx, &stackmap, STACKID_FLAGS); in waker()
91 key.tret = bpf_get_stackid(ctx, &stackmap, STACKID_FLAGS); in update_counts()
Dspintest_kern.c44 bpf_get_stackid(ctx, &stackmap, BPF_F_REUSE_STACKID); \
/linux-6.1.9/tools/perf/util/bpf_skel/
Dlock_contention.bpf.c121 pelem->stack_id = bpf_get_stackid(ctx, &stacks, BPF_F_FAST_STACK_CMP | stack_skip); in contention_begin()
Doff_cpu.bpf.c197 stack_id = bpf_get_stackid(ctx, &stacks, in off_cpu_stat()
/linux-6.1.9/kernel/bpf/
Dstackmap.c283 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/
Dbpf_trace.c79 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()