Files
linux/kernel
Petr Mladek cd6735896d kallsyms/bpf: rename __bpf_address_lookup() to bpf_address_lookup()
bpf_address_lookup() has been used only in kallsyms_lookup_buildid().  It
was supposed to set @modname and @modbuildid when the symbol was in a
module.

But it always just cleared @modname because BPF symbols were never in a
module.  And it did not clear @modbuildid because the pointer was not
passed.

The wrapper is no longer needed.  Both @modname and @modbuildid are now
always initialized to NULL in kallsyms_lookup_buildid().

Remove the wrapper and rename __bpf_address_lookup() to
bpf_address_lookup() because this variant is used everywhere.

[[email protected]: fix loongarch]
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 9294523e37 ("module: add printk formats to add module build ID to stacktraces")
Signed-off-by: Petr Mladek <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Cc: Aaron Tomlin <[email protected]>
Cc: Daniel Borkman <[email protected]>
Cc: Daniel Gomez <[email protected]>
Cc: John Fastabend <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Luis Chamberalin <[email protected]>
Cc: Marc Rutland <[email protected]>
Cc: "Masami Hiramatsu (Google)" <[email protected]>
Cc: Petr Pavlu <[email protected]>
Cc: Sami Tolvanen <[email protected]>
Cc: Steven Rostedt (Google) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
2026-01-20 19:44:22 -08:00
..
2025-11-09 21:19:44 -08:00
2026-01-11 06:09:11 -10:00
2026-01-20 19:44:19 -08:00
2026-01-16 16:16:24 +01:00
…
…
…
…
…
…
…
2025-11-11 10:01:31 +01:00
2025-11-14 18:15:49 +08:00
…
2025-11-04 08:30:50 +01:00
…
…
…
2025-10-29 10:29:54 +01:00
…
…
…