diff options
| author | Kan Liang <[email protected]> | 2018-01-18 21:26:24 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-02-15 12:54:08 +0000 |
| commit | 600a7cfe88de2c6e44e23d61dd721b996b790eb2 (patch) | |
| tree | 1c60a151f5bd6b94400fa6097d3d29556c747d7a /net/unix/af_unix.c | |
| parent | perf mmap: Introduce perf_mmap__read_event() (diff) | |
| download | kernel-600a7cfe88de2c6e44e23d61dd721b996b790eb2.tar.gz kernel-600a7cfe88de2c6e44e23d61dd721b996b790eb2.zip | |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
