aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2019-07-02 17:53:35 +0200
committerThomas Gleixner <[email protected]>2019-07-03 09:04:06 +0200
commit7e8e6816c6495a1168f9a7a50125d82c23e59300 (patch)
treed608fc97cbbec910699dd53f473cb9813caad020 /tools/perf/scripts/python
parent6fbc7275c7a9ba97877050335f290341a1fd8dbf (diff)
stacktrace: Use PF_KTHREAD to check for kernel threads
!current->mm is not a reliable indicator for kernel threads as they might temporarily use a user mm. Check for PF_KTHREAD instead. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Mark Rutland <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions