kallsyms: Take callthunks into account
authorPeter Zijlstra <peterz@infradead.org>
Thu, 15 Sep 2022 11:11:32 +0000 (13:11 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Oct 2022 14:41:17 +0000 (16:41 +0200)
commitf1389181622a08d6f1c71407a64df36b809d632b
treefab628955ad96ad466b52c0eb68201e901a83e00
parent7825451fa4dc04660f1f53d236e4302161d0ebd1
kallsyms: Take callthunks into account

Since the pre-symbol function padding is an integral part of the
symbol make kallsyms report it as part of the symbol by reporting it
as sym-x instead of prev_sym+y.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111148.409656012@infradead.org
kernel/kallsyms.c