[PATCH 0/4] perf tests: Add test to check backward ring buffer

From: Wang Nan
Date: Thu Apr 07 2016 - 05:43:58 EST


This 4 patches add a new test case, test reading from backward ring
bfufer implemented by [1].

[1]: http://lkml.kernel.org/g/1459865478-53413-1-git-send-email-wangnan0@xxxxxxxxxx

Wang Nan (4):
perf tools: Enforce ring buffer reading
perf tools: Extract __perf_evlist__mmap_read()
perf tools: Support reading from backward ring buffer
perf tests: Add test to check backward ring buffer

tools/perf/tests/Build | 1 +
tools/perf/tests/backward-ring-buffer.c | 151 ++++++++++++++++++++++++++++++++
tools/perf/tests/builtin-test.c | 4 +
tools/perf/tests/tests.h | 1 +
tools/perf/util/evlist.c | 87 ++++++++++++++----
tools/perf/util/evlist.h | 4 +
6 files changed, 233 insertions(+), 15 deletions(-)
create mode 100644 tools/perf/tests/backward-ring-buffer.c

--
1.8.3.4