diff options
author | Alexey Dobriyan <[email protected]> | 2024-06-07 18:14:29 +0300 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-06-24 22:25:08 -0700 |
commit | e7679a5c820d0865d0900931a7341048d830917d (patch) | |
tree | 6416dcc8e74010544e16616ad1c6d48c044b9655 /tools/perf/scripts/python/gecko.py | |
parent | d0bff054053f7a46a3819aba55ad803aa639ed7e (diff) |
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 <[email protected]>
Cc: Chunguang Wu <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions