aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKyle Meyer <[email protected]>2019-08-27 21:43:49 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-08-29 20:38:32 +0000
commit7df4e36a4785618f0c63f3dc2bacb164780ab0f6 (patch)
treec05351ee5e8b8b46c8a5fb5ec090eac6a40b4943 /tools/perf/scripts/python
parentperf stat: Replace MAX_NR_CPUS with cpu__max_cpu() (diff)
downloadkernel-7df4e36a4785618f0c63f3dc2bacb164780ab0f6.tar.gz
kernel-7df4e36a4785618f0c63f3dc2bacb164780ab0f6.zip
perf session: Replace MAX_NR_CPUS with perf_env::nr_cpus_online
nr_cpus, the number of CPUs online during a record session bound by MAX_NR_CPUS, can be used as a dynamic alternative for MAX_NR_CPUS in perf_session__cpu_bitmap. Signed-off-by: Kyle Meyer <[email protected]> Reviewed-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Russ Anderson <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions