aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorHelge Deller <[email protected]>2022-04-01 07:19:11 +0000
committerHelge Deller <[email protected]>2022-05-08 18:01:11 +0000
commit0921244f6f4f0d05698b953fe632a99b38907226 (patch)
tree35716da87bd2724404d080bbaba152ee0b4352b6 /tools/perf/scripts/python/event_analyzing_sample.py
parentRevert "parisc: Fix patch code locking and flushing" (diff)
downloadkernel-0921244f6f4f0d05698b953fe632a99b38907226.tar.gz
kernel-0921244f6f4f0d05698b953fe632a99b38907226.zip
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 <[email protected]> Noticed-by: John David Anglin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions