diff options
author | Kan Liang <[email protected]> | 2018-01-18 13:26:19 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-02-15 09:52:22 -0300 |
commit | 8872481bd04850b19e053dc579de5a11b83b16fc (patch) | |
tree | 1ab57d0e91aca3240df33aa3c2ac528df68804f2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f92c8cbe597a5a2ccec702dff824f3fe0f3623eb (diff) |
perf mmap: Introduce perf_mmap__read_init()
The new function perf_mmap__read_init() is factored out from
perf_mmap__push().
It is to calculate the 'start' and 'end' of the available data in
ringbuffer.
No functional change.
Signed-off-by: Kan Liang <[email protected]>
Acked-by: Jiri Olsa <[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