diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2024-11-08 13:39:31 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2024-11-09 20:00:46 +0300 |
commit | 42eeb3b5731de338a84a6d84e6318aeaa642a5b8 (patch) | |
tree | 2e8215fcc1f55c47c8258e376534388ab1a6193e /tools/perf/scripts/python/stackcollapse.py | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) | |
download | linux-42eeb3b5731de338a84a6d84e6318aeaa642a5b8.tar.xz |
scftorture: Avoid additional div operation.
Replace "scfp->cpu % nr_cpu_ids" with "cpu". This has been computed
earlier.
Tested-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Tested-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions