]> git.baikalelectronics.ru Git - kernel.git/commit
perf evlist: Fix add() not propagating maps
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 8 Sep 2015 07:58:59 +0000 (10:58 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Sep 2015 14:01:25 +0000 (11:01 -0300)
commit4fff4f041b8ae9d206a5591079141a26de09cd1b
treede9feccd72fe7f74e94476465ae34e093a0d58cc
parent5a8ef936f28c7d0e3cfc40135d67c292ac534615
perf evlist: Fix add() not propagating maps

If evsels are added after maps are created, then they won't have any
maps propagated to them.  Fix that.

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-12-git-send-email-adrian.hunter@intel.com
[ Moved the moving of propagate_maps() to the patch before, so that this
  one does _just_ the one lile fix calling in add()]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c