aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorZeng Tao <[email protected]>2020-01-17 09:52:52 +0800
committerGreg Kroah-Hartman <[email protected]>2020-01-17 15:21:49 +0100
commitf3c19481820cca412a768ae1d6737f59b68acfed (patch)
treeb9fd5f8c709847f3e60bc90f11d5c0d8eafa5425 /tools/perf/scripts/python/Perf-Trace-Util/lib
parenta37f4958f7b63d2b3cd17a76151fdfc29ce1da5f (diff)
cpu-topology: Don't error on more than CONFIG_NR_CPUS CPUs in device tree
When the kernel is configured with CONFIG_NR_CPUS smaller than the number of CPU nodes in the device tree(DT), all the CPU nodes parsing done to fetch topology information will fail. This is not reasonable as it is legal to have all the physical CPUs in the system in the DT. Let us just skip such CPU DT nodes that are not used in the kernel rather than returning an error. Reviewed-by: Sudeep Holla <[email protected]> Signed-off-by: Zeng Tao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions