Re: [PATCH RFC 10/19] perf tools: Create maps for x86_64 KPTI entry trampolines

From: Ingo Molnar
Date: Mon May 14 2018 - 04:33:07 EST



* Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:

> Create maps for x86_64 KPTI entry trampolines, based on symbols found in
> kallsyms. It is also necessary to keep track of whether the trampolines
> have been mapped particularly when the kernel dso is kcore.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> ---
> tools/perf/util/machine.c | 138 ++++++++++++++++++++++++++++++++++++++++++++--
> tools/perf/util/machine.h | 1 +
> tools/perf/util/symbol.c | 17 ++++++
> 3 files changed, 150 insertions(+), 6 deletions(-)

Minor detail, please call it 'x86 PTI'.

Thanks,

Ingo