aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorSrikar Dronamraju <[email protected]>2020-08-10 12:48:32 +0530
committerMichael Ellerman <[email protected]>2020-09-16 22:13:32 +1000
commit6e086302816b2ced602bc99641eb0189c05f018a (patch)
treefabc1c660e86bf37a7c85736e6d0fb125b55d9e6 /tools/perf/scripts/python/event_analyzing_sample.py
parentf9f130ff2ec93c5949576bbfb168cc9530c23649 (diff)
powerpc/smp: Allocate cpumask only after searching thread group
If allocated earlier and the search fails, then cpu_l1_cache_map cpumask is unnecessarily cleared. However cpu_l1_cache_map can be allocated / cleared after we search thread group. Please note CONFIG_CPUMASK_OFFSTACK is not set on Powerpc. Hence cpumask allocated by zalloc_cpumask_var_node is never freed. Signed-off-by: Srikar Dronamraju <[email protected]> Reviewed-by: Gautham R. Shenoy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions