diff options
author | Kyle Meyer <meyerk@hpe.com> | 2019-08-28 00:43:49 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-29 23:38:32 +0300 |
commit | 7df4e36a4785618f0c63f3dc2bacb164780ab0f6 (patch) | |
tree | c05351ee5e8b8b46c8a5fb5ec090eac6a40b4943 /tools/perf/util/cs-etm-decoder | |
parent | 92b5a1545ad51e8225e691e9a29ba33cc9fe37bc (diff) | |
download | linux-7df4e36a4785618f0c63f3dc2bacb164780ab0f6.tar.xz |
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 <kyle.meyer@hpe.com>
Reviewed-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russ Anderson <russ.anderson@hpe.com>
Link: http://lore.kernel.org/lkml/20190827214352.94272-5-meyerk@stormcage.eag.rdlabs.hpecorp.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/cs-etm-decoder')
0 files changed, 0 insertions, 0 deletions