perf evlist: Factor out a function to propagate maps for a single evsel
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 8 Sep 2015 07:58:58 +0000 (10:58 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Sep 2015 13:54:04 +0000 (10:54 -0300)
commitadc0c3e87b0e1baeccabe09b6dba738f17d0e91d
treea74c082979be15860abd38197c55a5e5a18edff2
parent74bfd2b25de354feb4484c553dce4fe8d9c3b60b
perf evlist: Factor out a function to propagate maps for a single evsel

Subsequent fixes will need a function that just propagates maps for a
single evsel so factor it out.

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-11-git-send-email-adrian.hunter@intel.com
[ Moved them to before perf_evlist__add() to avoid having to move it in the next patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c