perf tests: Set evlist of test__sw_clock_freq() to !overwrite
authorWang Nan <wangnan0@huawei.com>
Mon, 13 Nov 2017 01:38:05 +0000 (01:38 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Nov 2017 17:49:57 +0000 (14:49 -0300)
commit677b0601768881934f658bebb1713c3c843893fa
tree6e15d1bcbef4e73dc724f2a584456fc3d06f0200
parentd492326f160e44e08fcf132a63163b36dd8e8839
perf tests: Set evlist of test__sw_clock_freq() to !overwrite

Unsetting overwrite when calling perf_evlist__mmap is harmless. This
commit passes false to it, makes following commits eliminate the
overwrite argument easier.

Signed-off-by: Wang Nan <wangnan0@huawei.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20171113013809.212417-4-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/sw-clock.c