Home
last modified time | relevance | path

Searched refs:bpf_get_current_task (Results 1 – 15 of 15) sorted by relevance

/linux-6.14.4/tools/testing/selftests/bpf/progs/
Dtest_subprogs.c71 struct task_struct *t = (void *)bpf_get_current_task(); in prog1()
83 struct task_struct *t = (void *)bpf_get_current_task(); in prog2()
101 struct task_struct *t = (void *)bpf_get_current_task(); in prog3()
117 struct task_struct *t = (void *)bpf_get_current_task(); in prog4()
Dtest_skb_helpers.c24 task = (struct task_struct *)bpf_get_current_task(); in test_skb_helpers()
Dtest_core_retro.c28 struct task_struct *task = (void *)bpf_get_current_task(); in handle_sys_enter()
Dprofiler.inc.h360 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in get_var_kill_data()
561 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in BPF_KPROBE()
626 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in raw_tracepoint__sched_process_exit()
698 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in raw_tracepoint__sched_process_exec()
787 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in kprobe_ret__do_filp_open()
840 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in BPF_KPROBE()
895 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in BPF_KPROBE()
Dtest_skmsg_load_helpers.c29 struct task_struct *task = (struct task_struct *)bpf_get_current_task(); in prog_msg_verdict_common()
Dkmem_cache_iter.c73 u64 curr = bpf_get_current_task(); in BPF_PROG()
Dtest_sk_storage_tracing.c65 task = (struct task_struct *)bpf_get_current_task(); in set_task_info()
Dtest_core_reloc_kernel.c53 struct task_struct *task = (void *)bpf_get_current_task(); in test_core_kernel()
Dpyperf.h248 struct task_struct* task = (struct task_struct*)bpf_get_current_task();
Dstrobemeta.h615 task = (struct task_struct *)bpf_get_current_task(); in on_event()
/linux-6.14.4/tools/perf/util/bpf_skel/
Dkwork_top.bpf.c211 task = (struct task_struct *)bpf_get_current_task(); in on_irq_handler_entry()
247 task = (struct task_struct *)bpf_get_current_task(); in on_irq_handler_exit()
283 task = (struct task_struct *)bpf_get_current_task(); in on_softirq_entry()
319 task = (struct task_struct *)bpf_get_current_task(); in on_softirq_exit()
Dbperf_cgroup.bpf.c82 struct task_struct *p = (void *)bpf_get_current_task(); in get_cgroup_v1_idx()
Doff_cpu.bpf.c248 task = (struct task_struct *)bpf_get_current_task(); in on_newtask()
/linux-6.14.4/Documentation/bpf/libbpf/
Dlibbpf_overview.rst181 struct task_struct *task = (void *)bpf_get_current_task();
193 ``bpf_get_current_task()``. We then use ``bpf_core_read()`` to read the parent
/linux-6.14.4/kernel/trace/
Dbpf_trace.c750 BPF_CALL_0(bpf_get_current_task) in BPF_CALL_0() argument
756 .func = bpf_get_current_task,