aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2026-10-13 10:21:50 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-10-14 18:31:59 -0300
commitde350107ad7d1b74ba9972ce04e22aa2209d5e1c (patch)
tree3b0fc23dea6de21be63e2f1534c61355d0c99c68 /scripts/Makefile.thinlto
parentperf symbol: Set binary/symtab type for split kallsyms (diff)
perf symbol: Get rid of machine_or_dso_e_machine()
The function tries to get e_machine from a DSO (preferred) or env from the machine. But currently it's only used for kernel DSO's during the load which refers to /proc/kallsyms most likely and it doesn't have an ELF header. Also machine->env would have proper information about the kernel so no need to check DSO in this case. Actually check DSO's e_machine requires a correct binary type to be set but it'd cause a recursive locking problem. I think it's ok to use machine->env info for the kernel. Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions