linux-stable/tools/perf/lib
Jiri Olsa 1fcbb75cc5 libperf: Introduce perf_evlist_mmap_ops::idx callback
Add the perf_evlist_mmap_ops::idx callback to be called in
mmap_per_cpu() and mmap_per_thread() with current cpu and thread
indexes.

It's used by current aux code, so perf will use this callback to set the
aux index.

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-16-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-10-10 12:20:08 -03:00
..
Documentation libperf: Initial documentation 2019-07-29 18:34:47 -03:00
include libperf: Introduce perf_evlist_mmap_ops::idx callback 2019-10-10 12:20:08 -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: Introduce perf_evlist_mmap_ops::idx callback 2019-10-10 12:20:08 -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