diff options
author | Chen Linxuan <chenlinxuan@uniontech.com> | 2022-11-02 16:15:17 +0800 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2022-11-15 15:08:21 -0700 |
commit | df61e945e1e13b1fc8338f00db0a1518c48b7d2c (patch) | |
tree | 9c965a40b4b33a94d0539e886c23b451ea9d6cd4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5478cf6ae514aef42c70032a026954f9c9bad4ca (diff) |
Documentation: update the description of TracerPid in procfs.rst
When the tracer of process is outside of current pid namespace, field
`TracerPid` in /proc/<pid>/status will be 0, too, just like this process
not have been traced.
This is because that function `task_pid_nr_ns` used to get the pid of
tracer will return 0 in this situation.
Co-authored-by: Yuan Haisheng <heysion@deepin.com>
Signed-off-by: Chen Linxuan <chenlinxuan@uniontech.com>
Link: https://lore.kernel.org/r/20221102081517.19770-1-chenlinxuan@uniontech.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions