perf evlist: Add has_user_cpus member
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 8 Sep 2015 07:58:52 +0000 (10:58 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Sep 2015 13:20:50 +0000 (10:20 -0300)
commitec9a77a7e3346a05b1287597982d0dd09dd1c3bd
treeef33a63840b35b479cd01b06c429014c67e5926e
parentd5bc056e73841d4bc941474a342ef9b6a207ac84
perf evlist: Add has_user_cpus member

Subsequent patches will need to call perf_evlist__propagate_maps without
reference to a "target".  Add evlist->has_user_cpus to record whether
the user has specified which cpus to target (and therefore whether that
list of cpus should override the default settings for a selected event
i.e. the cpu maps should be propagated)

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@intel.com>
Link: http://lkml.kernel.org/r/1441699142-18905-5-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c
tools/perf/util/evlist.h