Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_core_reloc_kernel.c38 uint64_t pid_tgid = bpf_get_current_pid_tgid(); in test_core_kernel() local
39 uint32_t real_tgid = (uint32_t)pid_tgid; in test_core_kernel()
42 if (data.my_pid_tgid != pid_tgid) in test_core_kernel()
50 out->valid[0] = (((uint64_t)pid << 32) | tgid) == pid_tgid; in test_core_kernel()
Dpyperf.h159 uint64_t pid_tgid = bpf_get_current_pid_tgid(); in __on_event() local
160 pid_t pid = (pid_t)(pid_tgid >> 32); in __on_event()
172 event->tid = (pid_t)pid_tgid; in __on_event()
/external/bcc/examples/lua/
Duprobe-readline-perf.lua29 sample.pid = pid_tgid()
/external/bcc/tools/
Dsolisten.py148 pid = event.pid_tgid & 0xffffffff
/external/bcc/src/lua/bpf/
Dbuiltins.lua433 local function pid_tgid() error('NYI') end function
439 builtins.pid_tgid = pid_tgid
448 builtins[pid_tgid] = function (e, dst) return call_helper(e, dst, HELPER.get_current_pid_tgid) end
/external/bcc/src/lua/
DREADME.md91 sample.pid = pid_tgid()
135 * `pid_tgid()` - return caller `tgid << 32 | pid` (uses `bpf_get_current_pid_tgid`)