aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2022-08-25 18:41:31 +0200
committerThomas Gleixner <[email protected]>2022-09-19 14:35:08 +0200
commit44b0c2957adc62b86fcd51adeaf8e993171bc319 (patch)
tree43d810c6088e40acbf39e01d00e5b13758ee11bd /tools/perf/scripts/python/task-analyzer.py
parent9458e0a78c45bc6537ce11eb9f03489eab92f9c2 (diff)
u64_stats: Streamline the implementation
The u64 stats code handles 3 different cases: - 32bit UP - 32bit SMP - 64bit with an unreadable #ifdef maze, which was recently expanded with PREEMPT_RT conditionals. Reduce it to two cases (32bit and 64bit) and drop the optimization for 32bit UP as suggested by Linus. Use the new preempt_disable/enable_nested() helpers to get rid of the CONFIG_PREEMPT_RT conditionals. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions