diff options
author | Kan Liang <[email protected]> | 2018-01-18 13:26:24 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-02-15 09:54:08 -0300 |
commit | 600a7cfe88de2c6e44e23d61dd721b996b790eb2 (patch) | |
tree | 1c60a151f5bd6b94400fa6097d3d29556c747d7a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7bb45972952db9298fe5cc440160dcad1a66bfbc (diff) |
perf test: Update mmap read functions for backward-ring-buffer test
Use the new perf_mmap__read_* interfaces for overwrite ringbuffer test.
Commiter notes:
Testing:
[root@seventh ~]# perf test -v backward
48: Read backward ring buffer :
--- start ---
test child forked, pid 8309
Using CPUID GenuineIntel-6-9E
mmap size 1052672B
mmap size 8192B
Finished reading overwrite ring buffer: rewind
test child finished with 0
---- end ----
Read backward ring buffer: Ok
[root@seventh ~]#
Signed-off-by: Kan Liang <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jin Yao <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions