perf tests: Fix task exit test setting maps
authorAdrian Hunter <[email protected]>
Tue, 8 Sep 2015 07:59:01 +0000 (10:59 +0300)
committerArnaldo Carvalho de Melo <[email protected]>
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 <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/tests/task-exit.c