Like the kernel text, the location of x86 PTI entry trampolines must be recorded in the perf.data file. Like the kernel, synthesize a mmap event for that, and add processing for it. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: x86@kernel.org Link: http://lkml.kernel.org/r/1526986485-6562-10-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
19 lines
502 B
Plaintext
19 lines
502 B
Plaintext
libperf-y += header.o
|
|
libperf-y += tsc.o
|
|
libperf-y += pmu.o
|
|
libperf-y += kvm-stat.o
|
|
libperf-y += perf_regs.o
|
|
libperf-y += group.o
|
|
libperf-y += machine.o
|
|
libperf-y += event.o
|
|
|
|
libperf-$(CONFIG_DWARF) += dwarf-regs.o
|
|
libperf-$(CONFIG_BPF_PROLOGUE) += dwarf-regs.o
|
|
|
|
libperf-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o
|
|
libperf-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o
|
|
|
|
libperf-$(CONFIG_AUXTRACE) += auxtrace.o
|
|
libperf-$(CONFIG_AUXTRACE) += intel-pt.o
|
|
libperf-$(CONFIG_AUXTRACE) += intel-bts.o
|