perf record: Read from backward ring buffer
authorWang Nan <[email protected]>
Mon, 23 May 2016 07:13:41 +0000 (07:13 +0000)
committerArnaldo Carvalho de Melo <[email protected]>
Mon, 23 May 2016 21:22:48 +0000 (18:22 -0300)
commit3a62a7b8200a177ad96161e4f2678514e6ee301e
treeb990cb212929775c1dc926ebc992dee6bbe7c03f
parent09fa4f401296f555afb6f2f4282717644d94722e
perf record: Read from backward ring buffer

Introduce rb_find_range() to find start and end position from a backward
ring buffer.

Signed-off-by: Wang Nan <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: He Kuang <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-record.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h