aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2024-02-15 00:14:05 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2024-02-15 00:14:05 +1100
commit9832de654499f0bf797a3719c4d4c5bd401f18f5 (patch)
treeea776e1a12bfbed429aa09d9d0e9d5b8eed4ab9c /tools/perf/scripts/python/bin/stackcollapse-report
parentpowerpc/smp: Lookup avail once per device tree node (diff)
downloadlinux-9832de654499f0bf797a3719c4d4c5bd401f18f5.tar.gz
linux-9832de654499f0bf797a3719c4d4c5bd401f18f5.zip
powerpc/smp: Factor out assign_threads()
Factor out the for loop that assigns CPU numbers to threads of a core. The function takes the next CPU number to use as input, and returns the next available CPU number after the threads has been assigned. This will allow a subsequent change to assign threads out of order. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231229120107.2281153-4-mpe@ellerman.id.au
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions