Re: [PATCH v4 02/21] kallsyms: Export kallsyms_lookup_name

From: Mukesh Ojha
Date: Wed Jun 28 2023 - 11:05:46 EST




On 6/28/2023 6:54 PM, Andy Shevchenko wrote:
On Wed, Jun 28, 2023 at 3:35 PM Mukesh Ojha <quic_mojha@xxxxxxxxxxx> wrote:

Module like minidump providing debugging support will need to
get the symbol information from the core kernel e.g to get
the linux_banner, kernel section addresses bss, data, ro etc.

commit 0bd476e6c671 ("kallsyms: unexport kallsyms_lookup_name()

Commit

and kallsyms_on_each_symbol()") unexports kallsyms_lookup_name
due to lack of in-tree user of the symbol. Now, that minidump
will one of its user, export it.

users

...

Is it a direct revert? Then make it visible by leaving pieces from `git revert`.


No, it is not direct revert..

...

-

If not, drop this stray change.

ok

- Mukesh

+EXPORT_SYMBOL_GPL(kallsyms_lookup_name);