]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Allow using PERF_RECORD_MMAP2 to synthesize the kernel modules maps
authorJiri Olsa <jolsa@kernel.org>
Mon, 14 Dec 2020 10:54:51 +0000 (11:54 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Dec 2020 13:25:23 +0000 (10:25 -0300)
commit659611b62205e724c5e0f0a046f84fb73b73d646
tree06d623dad2fe1fa3d02181f152358d596fad41dc
parent50e4a6d591abf8b5e717fa3ec372529e6b616b05
perf tools: Allow using PERF_RECORD_MMAP2 to synthesize the kernel modules maps

Allow using PERF_RECORD_MMAP2 to synthesize the kernel modules maps so
that we can use PERF_RECORD_MMAP2 to encode the kernel modules build ids
in the following csets.

It's enabled by a new symbol_conf.buildid_mmap2 bool field, which will
be switchable in following changes.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexei Budankov <abudankov@huawei.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20201214105457.543111-10-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/synthetic-events.c