perf tools: Allow synthesizing the build id for kernel/modules/tasks in PERF_RECORD_MMAP2
authorJiri Olsa <jolsa@kernel.org>
Mon, 14 Dec 2020 10:54:52 +0000 (11:54 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Dec 2020 13:25:33 +0000 (10:25 -0300)
commit4183a8d70a288627219942f84e1f83fd28717de3
treeba1c1509fb9a0dc68ce7e5c3e31f7e6fdded4a44
parente0dbf18f657f130bb42c843d2b0d11ddf51ee8bb
perf tools: Allow synthesizing the build id for kernel/modules/tasks in PERF_RECORD_MMAP2

Adding build id to synthesized mmap2 events for everything -
kernel/modules/tasks, when symbol_conf.buildid_mmap2 is true.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
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: Ian Rogers <irogers@google.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-11-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/synthetic-events.c