diff options
author | 2024-06-07 18:14:29 +0300 | |
---|---|---|
committer | 2024-06-24 22:25:08 -0700 | |
commit | e7679a5c820d0865d0900931a7341048d830917d (patch) | |
tree | 6416dcc8e74010544e16616ad1c6d48c044b9655 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | lib/Kconfig.debug: document panic= command line option and procfs entry for PANIC_TIMEOUT (diff) | |
download | wireguard-linux-e7679a5c820d0865d0900931a7341048d830917d.tar.xz wireguard-linux-e7679a5c820d0865d0900931a7341048d830917d.zip |
proc: test "Kthread:" field
/proc/${pid}/status got Kthread field recently.
Test that userspace program is not reported as kernel thread.
Test that kernel thread is reported as kernel thread.
Use kthreadd with pid 2 for this.
Link: https://lkml.kernel.org/r/818c4c41-8668-4566-97a9-7254abf819ee@p183
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Chunguang Wu <fullspring2018@gmail.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions