[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1462758471-89706-1-git-send-email-wangnan0@huawei.com>
Date: Mon, 9 May 2016 01:47:49 +0000
From: Wang Nan <wangnan0@...wei.com>
To: <acme@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <lizefan@...wei.com>,
<pi3orama@....com>, Wang Nan <wangnan0@...wei.com>
Subject: [PATCH v3 0/2] perf tools: Backward ring buffer support
Commit 9ecda41acb97 ("perf/core: Add ::write_backward attribute to
perf event") introduces backward ring buffer. This 2 patches add basic
support for reading from it, and add a new test case for it.
v2 -> v3:
Improve commit message, add more comments (patch 1/2). patch 1-2/4 in
v2 have been collected so remove them.
v1 -> v2:
Patch 1/5 in v1 has been collected by perf/core, so remove it;
Change function names in patch 2/5 in v1 (1/4 in v2):
__perf_evlist__mmap_read -> perf_mmap__read
Wang Nan (2):
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 | 50 +++++++++++
tools/perf/util/evlist.h | 4 +
6 files changed, 211 insertions(+)
create mode 100644 tools/perf/tests/backward-ring-buffer.c
--
1.8.3.4
Powered by blists - more mailing lists