[PATCH V2 12/20] perf tools: Synthesize and process mmap events for x86 PTI entry trampolines

2018-05-17 Thread Adrian Hunter
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 --- tools/perf/arch/x86/util/Build | 1 +

[PATCH V2 12/20] perf tools: Synthesize and process mmap events for x86 PTI entry trampolines

2018-05-17 Thread Adrian Hunter
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 --- tools/perf/arch/x86/util/Build | 1 + tools/perf/arch/x86/util/event.c | 76