perf tools: Introduce perf_evlist__mmap_cb_idx()
authorJiri Olsa <jolsa@kernel.org>
Mon, 7 Oct 2019 12:53:26 +0000 (14:53 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 10 Oct 2019 15:23:52 +0000 (12:23 -0300)
commit9abd2ab2377613425e1c362694f85b110f5bace2
treedb4f16c093413096adbaa2acb642544768278d4f
parentb5911e7ac28cb34f21b7380915ce98518078f114
perf tools: Introduce perf_evlist__mmap_cb_idx()

Add perf_evlist__mmap_cb_idx function to call auxtrace_mmap_params__set_idx()
on each new index during perf_evlist__mmap_ops call.

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-19-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c