perf tests: Fix software clock events test setting maps
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 8 Sep 2015 07:59:02 +0000 (10:59 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Sep 2015 14:04:49 +0000 (11:04 -0300)
commitc5e6bd2ed3e81df443e4ae11e95ed71ff77bf9e5
tree2a26e15d953681fd0527ce9d7e0f9156bdc4e4f4
parent2998272275fc31fc3d478ef9c95e7eaef67dafa3
perf tests: Fix software clock events test setting maps

The test titled "Test software clock events have valid period values"
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-15-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/sw-clock.c