diff options
| author | Kyle Meyer <[email protected]> | 2019-08-27 21:43:49 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-29 20:38:32 +0000 |
| commit | 7df4e36a4785618f0c63f3dc2bacb164780ab0f6 (patch) | |
| tree | c05351ee5e8b8b46c8a5fb5ec090eac6a40b4943 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | perf stat: Replace MAX_NR_CPUS with cpu__max_cpu() (diff) | |
| download | kernel-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/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions
