diff options
author | Wang Nan <[email protected]> | 2016-05-09 01:47:50 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-05-09 17:20:53 -0300 |
commit | e24c7520ea9c3e5bb51592c2134aafbf75a3f88a (patch) | |
tree | fe6c5e5e1f3ef7676b71a3e3b555a2a6a2647232 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | aff633406ca2772554bad7b37f2dfbc409b6ea74 (diff) |
perf tools: Support reading from backward ring buffer
perf_evlist__mmap_read_backward() is introduced for reading backward
ring buffer. Since direction for reading such ring buffer is different
from the direction kernel writing to it, and since user need to fetch
most recent record from it, a perf_evlist__mmap_read_catchup() is
introduced to move the reading pointer to the end of the buffer.
Signed-off-by: Wang Nan <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions