linux/tools/perf/lib
Jiri Olsa d1a177595b libperf: Adopt perf_evlist__mmap()/munmap() from tools/perf
Add libperf's version of perf_evlist__mmap()/munmap() functions and
exporting them in the perf/evlist.h header.

It's the backbone of what we have in perf code. The following changes
will add needed callbacks and then we'll finally switch the perf code to
use libperf's version.

Add mmap/mmap_ovw 'struct perf_mmap' object arrays to hold maps for
libperf's evlist.

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-14-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-10-10 12:15:58 -03:00
..
Documentation libperf: Initial documentation 2019-07-29 18:34:47 -03:00
include libperf: Adopt perf_evlist__mmap()/munmap() from tools/perf 2019-10-10 12:15:58 -03:00
tests libperf: Add libperf_init() call to the tests 2019-09-25 09:51:49 -03:00
Build libperf: Add perf_mmap__init() function 2019-10-10 09:37:25 -03:00
core.c libperf: Merge libperf_set_print() into libperf_init() 2019-09-25 09:51:49 -03:00
cpumap.c libperf: Adopt perf_cpu_map__max() function 2019-09-10 14:33:32 +01:00
evlist.c libperf: Adopt perf_evlist__mmap()/munmap() from tools/perf 2019-10-10 12:15:58 -03:00
evsel.c libperf: Add perf_evsel__alloc_id/perf_evsel__free_id functions 2019-09-25 09:51:48 -03:00
internal.h libperf: Adopt perf_mmap__read_init() from tools/perf 2019-10-10 11:45:21 -03:00
lib.c libperf: Move 'page_size' global variable to libperf 2019-09-25 09:51:48 -03:00
libperf.map libperf: Adopt perf_evlist__mmap()/munmap() from tools/perf 2019-10-10 12:15:58 -03:00
libperf.pc.template libperf: Add install targets 2019-07-29 18:34:46 -03:00
Makefile libperf: Adopt perf_mmap__consume() function from tools/perf 2019-10-10 11:43:49 -03:00
mmap.c libperf: Adopt perf_mmap__read_event() from tools/perf 2019-10-10 11:49:46 -03:00
threadmap.c libperf: Add perf_thread_map__nr/perf_thread_map__pid functions 2019-08-22 17:16:57 -03:00
xyarray.c libperf: Adopt xyarray class from perf 2019-07-29 18:34:45 -03:00