Home
last modified time | relevance | path

Searched refs:pid_tgid (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtest_core_reloc_module.c45 __u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_PROG() local
46 __u32 real_tgid = (__u32)(pid_tgid >> 32); in BPF_PROG()
47 __u32 real_pid = (__u32)pid_tgid; in BPF_PROG()
49 if (data.my_pid_tgid != pid_tgid) in BPF_PROG()
79 __u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_PROG() local
80 __u32 real_tgid = (__u32)(pid_tgid >> 32); in BPF_PROG()
81 __u32 real_pid = (__u32)pid_tgid; in BPF_PROG()
83 if (data.my_pid_tgid != pid_tgid) in BPF_PROG()
Dtest_core_reloc_kernel.c55 uint64_t pid_tgid = bpf_get_current_pid_tgid(); in test_core_kernel() local
56 uint32_t real_tgid = (uint32_t)pid_tgid; in test_core_kernel()
59 if (data.my_pid_tgid != pid_tgid) in test_core_kernel()
67 out->valid[0] = (((uint64_t)pid << 32) | tgid) == pid_tgid; in test_core_kernel()
Dpyperf.h222 uint64_t pid_tgid = bpf_get_current_pid_tgid(); in __on_event() local
223 pid_t pid = (pid_t)(pid_tgid >> 32); in __on_event()
235 event->tid = (pid_t)pid_tgid; in __on_event()
/Linux-v6.1/samples/bpf/
Dtracex2_kern.c69 u64 pid_tgid; member
90 key.pid_tgid = bpf_get_current_pid_tgid(); in SYSCALL()
Dtracex2_user.c31 __u64 pid_tgid; member
102 (__u32) tasks[i].pid_tgid, in print_hist()