summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-04-01 09:19:11 +0200
committerHelge Deller <deller@gmx.de>2022-05-08 20:01:11 +0200
commit0921244f6f4f0d05698b953fe632a99b38907226 (patch)
tree35716da87bd2724404d080bbaba152ee0b4352b6 /tools/perf/scripts/python/flamegraph.py
parent6c800d7f55fcd78e17deae5ae4374d8e73482c13 (diff)
parisc: Only list existing CPUs in cpu_possible_mask
The inventory knows which CPUs are in the system, so this bitmask should be in cpu_possible_mask instead of the bitmask based on CONFIG_NR_CPUS. Reset the cpu_possible_mask before scanning the system for CPUs, and mark each existing CPU as possible during initialization of that CPU. This avoids those warnings later on too: register_cpu_capacity_sysctl: too early to get CPU4 device! Signed-off-by: Helge Deller <deller@gmx.de> Noticed-by: John David Anglin <dave.anglin@bell.net>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions