Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Find process using pid instead of tid
Previously we use tid to find process, leading to misleading output under some situations. According to documentation, `bpf_get_current_pid_tgid` returns `current->tgid << 32 | current->pid`. Kernel's view of the pid in user space is usually presented as the thread ID, and kernel's tgid in user space is seen as pid. Signed-off-by: Zhichuan Liang<[email protected]>
- Loading branch information