Re: [PATCH v4 02/21] kallsyms: Export kallsyms_lookup_name
From: Andy Shevchenko
Date: Wed Jun 28 2023 - 09:27:53 EST
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`.
...
> -
If not, drop this stray change.
> +EXPORT_SYMBOL_GPL(kallsyms_lookup_name);
--
With Best Regards,
Andy Shevchenko