diff options
| author | Kyle Meyer <[email protected]> | 2019-08-27 21:43:50 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-29 20:38:32 +0000 |
| commit | 8c7274691f0de5fb56f3b9fe9208ce7e515a2d2c (patch) | |
| tree | 69b70673aee9326752297bfdbaad7c52be9ec685 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | perf session: Replace MAX_NR_CPUS with perf_env::nr_cpus_online (diff) | |
| download | kernel-8c7274691f0de5fb56f3b9fe9208ce7e515a2d2c.tar.gz kernel-8c7274691f0de5fb56f3b9fe9208ce7e515a2d2c.zip | |
perf machine: 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
__machine__synthesize_threads and machine__set_current_tid.
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
