OSDN Git Service

perf tests: Set evlist of test__task_exit() to !overwrite
authorWang Nan <wangnan0@huawei.com>
Mon, 13 Nov 2017 01:38:07 +0000 (01:38 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Nov 2017 17:49:58 +0000 (14:49 -0300)
commita0e3dd79cdd8ad838cbcefeff530a15193f8336e
treeb0730a49fbddefe5a9efd9db5dac541865a1f805
parent301d724aa19add1c0cf3ec8cad0d10151d30393f
perf tests: Set evlist of test__task_exit() to !overwrite

Changing ringbuffer to !overwrite in this task is harmless because
this test uses a very low frequency (1) and using a very simple program
(true). There should have only 3 events in the whole test.  Overwriting
is impossible to happen.

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