mirror_ubuntu-kernels/tools/perf/lib/include/internal
Jiri Olsa 7728fa0cfa libperf: Adopt perf_mmap__consume() function from tools/perf
Move perf_mmap__consume() vrom tools/perf to libperf and export it in
the perf/mmap.h header.

Move also the needed helpers perf_mmap__write_tail(),
perf_mmap__read_head() and perf_mmap__empty().

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20191007125344.14268-10-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-10-10 11:43:49 -03:00
..
cpumap.h libperf: Move perf's cpu_map__idx() to perf_cpu_map__idx() 2019-08-22 11:18:45 -03:00
evlist.h libperf: Add perf_evlist__add_pollfd() function 2019-09-25 09:51:49 -03:00
evsel.h libperf: Add perf_evsel__alloc_id/perf_evsel__free_id functions 2019-09-25 09:51:48 -03:00
lib.h libperf: Use sys/types.h to get ssize_t, not unistd.h 2019-09-25 09:51:49 -03:00
mmap.h libperf: Adopt perf_mmap__consume() function from tools/perf 2019-10-10 11:43:49 -03:00
tests.h libperf: Add tests support 2019-07-29 18:34:46 -03:00
threadmap.h libperf: Add perf_thread_map__new_dummy() function 2019-07-29 18:34:44 -03:00
xyarray.h libperf: Fix alignment trap with xyarray contents in 'perf stat' 2019-08-22 17:16:57 -03:00