lkml.org 
[lkml]   [2016]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/2] perf tools: Backward ring buffer support
Date
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

\
 
 \ /
  Last update: 2016-05-09 04:01    [W:0.075 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site