]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e546dd38c9b16b2ddb2007e13d1ba6ed6e972bc
treeef33a63840b35b479cd01b06c429014c67e5926e
parentcf0357e72089f63e81b485475a3632f95b4c3aca
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