perf tests: Fix task exit test setting maps
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 8 Sep 2015 07:59:01 +0000 (10:59 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Sep 2015 14:03:58 +0000 (11:03 -0300)
commit2998272275fc31fc3d478ef9c95e7eaef67dafa3
tree1d369bfd0aeb78c1b719260b7259043744465883
parent8c0498b6891d7ca5c379c6283de7fc7fe8eebe5c
perf tests: Fix task exit test setting maps

The test titled "Test number of exit event of a simple workload" was
setting cpu/thread maps directly.  Make it use the proper function
perf_evlist__set_maps() especially now that it also propagates the maps.

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