]> git.baikalelectronics.ru Git - kernel.git/commit
perf evlist: No need to do any affinity setup when profiling pids
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 15 Jan 2022 20:15:09 +0000 (17:15 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 15 Jan 2022 20:41:25 +0000 (17:41 -0300)
commit89282832cb86d5c8976331f0d0bfe42b8225cd4d
treede2af5d18ddad0a7e806e70f694408a15cbc1518
parent9666de8a5ec730b0909a2c0ff33a0d499e6be2b6
perf evlist: No need to do any affinity setup when profiling pids

The cpumap is dummy, so no need to go on figuring out affinity.o

This way we reduce the setup time for simple scenarios like:

$ perf stat sleep 1

Acked-by: Andi Kleen <andi@firstfloor.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c