Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dtest_core_reloc_kernel.c40 uint64_t pid_tgid = bpf_get_current_pid_tgid(); in test_core_kernel() local
41 uint32_t real_tgid = (uint32_t)pid_tgid; in test_core_kernel()
44 if (data.my_pid_tgid != pid_tgid) in test_core_kernel()
52 out->valid[0] = (((uint64_t)pid << 32) | tgid) == pid_tgid; in test_core_kernel()
Dtest_ns_current_pid_tgid.c11 __u64 pid_tgid; member
32 res.pid_tgid = ns_pid_tgid; in trace()
Dpyperf.h171 uint64_t pid_tgid = bpf_get_current_pid_tgid(); in __on_event() local
172 pid_t pid = (pid_t)(pid_tgid >> 32); in __on_event()
184 event->tid = (pid_t)pid_tgid; in __on_event()
/tools/testing/selftests/bpf/prog_tests/
Dns_current_pid_tgid.c12 __u64 pid_tgid; member
79 if (CHECK(id != bss.pid_tgid, "Compare user pid/tgid vs. bpf pid/tgid", in test_ns_current_pid_tgid()
80 "User pid/tgid %llu BPF pid/tgid %llu\n", id, bss.pid_tgid)) in test_ns_current_pid_tgid()
/tools/testing/selftests/bpf/
Dtest_current_pid_tgid_new_ns.c27 __u64 pid_tgid; member
145 if (CHECK_NEWNS(id != bss.pid_tgid, "Compare user pid/tgid vs. bpf pid/tgid", in main()
146 "User pid/tgid %llu BPF pid/tgid %llu\n", id, bss.pid_tgid)) in main()