OSDN Git Service

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

Setting overwrite in perf_evlist__mmap() is meaningless because the
event in this evlist is already have 'overwrite' postfix and goes to
backward ring buffer automatically. Pass 'false' to perf_evlist__mmap()
to make it similar to others.

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-3-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/backward-ring-buffer.c