perf evlist: Fix create_syswide_maps() not propagating maps
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 8 Sep 2015 07:59:00 +0000 (10:59 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Sep 2015 14:03:22 +0000 (11:03 -0300)
commit8c0498b6891d7ca5c379c6283de7fc7fe8eebe5c
treef2a1a8c3a5fb7f59191c183c8b9b9f793ecb8803
parent44c42d71c659527c81bf169808959c9339116d85
perf evlist: Fix create_syswide_maps() not propagating maps

Fix it by making it call perf_evlist__set_maps() instead of setting the
maps itself.

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-13-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c