]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - kernel/kallsyms.c
kallsyms, x86: Export addresses of PTI entry trampolines
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Wed, 6 Jun 2018 12:54:10 +0000 (15:54 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Aug 2018 22:12:29 +0000 (19:12 -0300)
commitd83212d5dd6761625fe87cc23016bbaa47303271
treed6a5e3b56e84938b6f8079bd8622e7b93bfc5326
parentb96679422007c3fa04625be14977904c27c722eb
kallsyms, x86: Export addresses of PTI entry trampolines

Currently, the addresses of PTI entry trampolines are not exported to
user space. Kernel profiling tools need these addresses to identify the
kernel code, so add a symbol and address for each CPU's PTI entry
trampoline.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Acked-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
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: Thomas Gleixner <tglx@linutronix.de>
Cc: x86@kernel.org
Link: http://lkml.kernel.org/r/1528289651-4113-3-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
arch/x86/mm/cpu_entry_area.c
kernel/kallsyms.c