]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbbd848e0753c3973c286908d0e57fa6a7403c1b0
treed9733ff295a7b4ef1e898e60052b45b1be4b5ac6
parent74e8bad691dda902e1c65d6edcc9e3c3713ecb68
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