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

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_module.c45 __u64 pid_tgid = bpf_get_current_pid_tgid(); local
46 __s32 real_tgid = (__s32)(pid_tgid >> 32);
47 __s32 real_pid = (__s32)pid_tgid;
49 if (data.my_pid_tgid != pid_tgid)
79 __u64 pid_tgid = bpf_get_current_pid_tgid(); local
80 __s32 real_tgid = (__s32)(pid_tgid >> 32);
81 __s32 real_pid = (__s32)pid_tgid;
83 if (data.my_pid_tgid != pid_tgid)
H A Dtest_core_reloc_kernel.c55 uint64_t pid_tgid = bpf_get_current_pid_tgid(); local
56 int32_t real_tgid = (int32_t)pid_tgid;
59 if (data.my_pid_tgid != pid_tgid)
67 out->valid[0] = (((uint64_t)pid << 32) | tgid) == pid_tgid;
H A Dpyperf.h224 uint64_t pid_tgid = bpf_get_current_pid_tgid(); local
225 pid_t pid = (pid_t)(pid_tgid >> 32);
237 event->tid = (pid_t)pid_tgid;
/linux-master/samples/bpf/
H A Dtracex2.bpf.c67 u64 pid_tgid; member in struct:hist_key
87 key.pid_tgid = bpf_get_current_pid_tgid();
H A Dtracex2_user.c31 __u64 pid_tgid; member in struct:task
102 (__u32) tasks[i].pid_tgid,

Completed in 172 milliseconds