[PATCH v4 02/21] kallsyms: Export kallsyms_lookup_name

Andy Shevchenko andy.shevchenko at gmail.com
Wed Jun 28 06:24:48 PDT 2023


On Wed, Jun 28, 2023 at 3:35 PM Mukesh Ojha <quic_mojha at quicinc.com> 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



More information about the linux-arm-kernel mailing list