Le 06/01/2025 à 22:46, Namhyung Kim a écrit :
And in System.map I have: c136a000 D __start___bug_table c1377c14 D __stop___bug_table c1378000 B __bss_start c1378000 B _edata c1378000 B initcall_debug c1378004 B reset_devices Should perf try to locate the very last symbol when it doesn't find _edata ? Or should architecture's link script be modified ? Otherwise commit 69a87a32f5cd ("perf machine: Include data symbols in the kernel map") is just pointless.Let's go with kallsyms__get_symbol_start(). I think it's the most straight-forward and simplest fix.
Ok, I did that, see patch https://lore.kernel.org/linux-perf-users/b3ee1994d95257cb7f2de037c5030ba7d1bed404.1736327613.git.christophe.le...@csgroup.eu/T/#u
And for the _edata which is sometimes missing, I send patch https://lore.kernel.org/linux-perf-users/2fec8c50c271dff59f0177ff0884b6c374486ba5.1736327770.git.christophe.le...@csgroup.eu/T/#u
Christophe
