[PATCH V2 19/20] perf buildid-cache: kcore_copy: Copy x86 PTI entry trampoline sections

2018-05-17 Thread Adrian Hunter
Identify and copy any sections for x86 PTI entry trampolines. Signed-off-by: Adrian Hunter --- tools/perf/util/symbol-elf.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/tools/perf/util/symbol-elf.c

[PATCH V2 19/20] perf buildid-cache: kcore_copy: Copy x86 PTI entry trampoline sections

2018-05-17 Thread Adrian Hunter
Identify and copy any sections for x86 PTI entry trampolines. Signed-off-by: Adrian Hunter --- tools/perf/util/symbol-elf.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c index