Re: [PATCH] perf machine: Don't ignore _etext when not a text symbol

2025-01-08 Thread Christophe Leroy
Le 08/01/2025 à 21:14, Arnaldo Carvalho de Melo a écrit : On Wed, Jan 08, 2025 at 10:15:24AM +0100, Christophe Leroy wrote: Depending on how vmlinux.lds is written, _etext might be the very first data symbol instead of the very last text symbol. Don't require it to be a text symbol, accept a

Re: [PATCH] perf machine: Don't ignore _etext when not a text symbol

2025-01-08 Thread Arnaldo Carvalho de Melo
On Wed, Jan 08, 2025 at 10:15:24AM +0100, Christophe Leroy wrote: > Depending on how vmlinux.lds is written, _etext might be the very > first data symbol instead of the very last text symbol. > > Don't require it to be a text symbol, accept any symbol type. I'm adding a Link: Link: https://lore

[PATCH] perf machine: Don't ignore _etext when not a text symbol

2025-01-08 Thread Christophe Leroy
Depending on how vmlinux.lds is written, _etext might be the very first data symbol instead of the very last text symbol. Don't require it to be a text symbol, accept any symbol type. Fixes: ed9adb2035b5 ("perf machine: Read also the end of the kernel") Signed-off-by: Christophe Leroy --- tools