Home
last modified time | relevance | path

Searched refs:bpf_get_current_pid_tgid (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dlocal_storage.c59 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
85 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
111 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
130 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
Dtest_varlen.c42 int pid = bpf_get_current_pid_tgid() >> 32; in handler64_unsigned()
70 int pid = bpf_get_current_pid_tgid() >> 32; in handler64_signed()
96 int pid = bpf_get_current_pid_tgid() >> 32; in handler32_unsigned()
124 int pid = bpf_get_current_pid_tgid() >> 32; in handler32_signed()
Dtest_d_path.c25 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
46 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
Dlsm.c46 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
63 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
Dtest_probe_read_user_str.c17 if (pid != (bpf_get_current_pid_tgid() >> 32)) in on_write()
Dtest_map_init.c25 int cur_pid = bpf_get_current_pid_tgid() >> 32; in sysenter_getpgid()
Dtest_send_signal_kern.c16 if ((bpf_get_current_pid_tgid() >> 32) == pid) { in bpf_send_signal_test()
Dtest_core_retro.c31 int real_tgid = bpf_get_current_pid_tgid() >> 32; in handle_sys_enter()
Dget_cgroup_id_kern.c24 __u32 pid = bpf_get_current_pid_tgid(); in trace()
Dtest_ringbuf_multi.c47 int cur_pid = bpf_get_current_pid_tgid() >> 32; in test_ringbuf()
Dtest_skmsg_load_helpers.c35 pid = bpf_get_current_pid_tgid() >> 32; in prog_msg_verdict()
Dtest_ringbuf.c42 int cur_pid = bpf_get_current_pid_tgid() >> 32; in test_ringbuf()
Dtest_get_stack_rawtp.c72 data->pid = bpf_get_current_pid_tgid(); in bpf_prog1()
Dtest_core_reloc_kernel.c40 uint64_t pid_tgid = bpf_get_current_pid_tgid(); in test_core_kernel()
Dstrobemeta.h460 pid_t pid = bpf_get_current_pid_tgid() >> 32; in read_strobe_meta()
511 pid_t pid = bpf_get_current_pid_tgid() >> 32; in on_event()
Dpyperf.h171 uint64_t pid_tgid = bpf_get_current_pid_tgid(); in __on_event()
Dprofiler.inc.h146 return bpf_get_current_pid_tgid() >> 32; in get_userspace_pid()
/kernel/linux/linux-5.10/tools/perf/include/bpf/
Dunistd.h5 static int (*bpf_get_current_pid_tgid)(void) = (void *)BPF_FUNC_get_current_pid_tgid; variable
9 return bpf_get_current_pid_tgid(); in getpid()
/kernel/linux/linux-5.10/samples/bpf/
Dmap_perf_test_kern.c108 u32 key = bpf_get_current_pid_tgid(); in SYSCALL()
123 u32 key = bpf_get_current_pid_tgid(); in SYSCALL()
137 u32 key = bpf_get_current_pid_tgid(); in SYSCALL()
151 u32 key = bpf_get_current_pid_tgid(); in SYSCALL()
Dtrace_output_kern.c22 data.pid = bpf_get_current_pid_tgid(); in SYSCALL()
Dtest_current_task_under_cgroup_kern.c33 u64 pid = bpf_get_current_pid_tgid(); in SYSCALL()
Dtracex2_kern.c90 key.pid_tgid = bpf_get_current_pid_tgid(); in SYSCALL()
Doffwaketime_kern.c142 pid = bpf_get_current_pid_tgid();
/kernel/linux/linux-5.10/kernel/bpf/
Dhelpers.c171 BPF_CALL_0(bpf_get_current_pid_tgid) in BPF_CALL_0() argument
182 .func = bpf_get_current_pid_tgid,