aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorDavid Wang <[email protected]>2018-05-03 10:32:46 +0800
committerThomas Gleixner <[email protected]>2018-05-13 16:14:24 +0200
commita2aa578fec8c29436bce5e6c15e1e31729d539a3 (patch)
treec81c1a8e4b4fad8bdf23ff42bebf8521ec88d0fb /tools/perf/scripts/python/call-graph-from-sql.py
parent807e9bc8e2fe6b4907f9f77fd073f7ef5073af29 (diff)
x86/Centaur: Report correct CPU/cache topology
Centaur CPUs enumerate the cache topology in the same way as Intel CPUs, but the function is unused so for. The Centaur init code also misses to initialize x86_info::max_cores, so the CPU topology can't be described correctly. Initialize x86_info::max_cores and invoke init_cacheinfo() to make CPU and cache topology information available and correct. Signed-off-by: David Wang <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions