]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - tools/perf/util/evlist.c
perf evlist: Propagate cpu maps to evsels in an evlist
authorJiri Olsa <jolsa@kernel.org>
Mon, 22 Jun 2015 22:36:06 +0000 (00:36 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 25 Jun 2015 18:15:51 +0000 (15:15 -0300)
commitb7f0c203586b91419ff9aa9b1115e261082ff5b4
treed9733ff295a7b4ef1e898e60052b45b1be4b5ac6
parent186fbb7432f4a740b4fbaf4145375442210110bb
perf evlist: Propagate cpu maps to evsels in an evlist

Propagate evlist's cpu_map object through all the evsel objects, while
keeping already configured evsel->cpus.

It'll be handy to access evsel's cpus directly in following patches.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1435012588-9007-6-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c