diff options
author | Kan Liang <kan.liang@intel.com> | 2018-01-18 13:26:19 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-02-15 09:52:22 -0300 |
commit | 8872481bd04850b19e053dc579de5a11b83b16fc (patch) | |
tree | 1ab57d0e91aca3240df33aa3c2ac528df68804f2 /lib/bsearch.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 <kan.liang@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1516310792-208685-5-git-send-email-kan.liang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/bsearch.c')
0 files changed, 0 insertions, 0 deletions