Re: [PATCH v2] perf symbol: remove Rust symbol workarounds

From: Namhyung Kim

Date: Wed Jan 07 2026 - 13:22:43 EST


Hello,

On Wed, Jan 07, 2026 at 12:59:48PM +0100, Miguel Ojeda wrote:
> On Wed, Jan 7, 2026 at 9:04 AM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
> >
> > I'm afraid there may be some outdated kernels which don't have the fix
> > yet. Maybe make sense to wait some more time for them to disappear?
>
> Hmm... Do you mean that someone would use a new perf with an old
> kernel? Is that supported etc.?

Yep, perf userspace can be released separate with the kernel and it's
recommended to run the latest version regardless of kernel versions.
So from the tools perspective, it should support any kernels.

>
> In any case, the fix is getting backported all the way to 6.1.y, i.e.
> all the supported LTSs:
>
> 761e965d2c61 ("kallsyms: Fix wrong "big" kernel symbol type read
> from procfs")
> d5fe0c115bbc ("kallsyms: Fix wrong "big" kernel symbol type read
> from procfs")
> d46ef2bf91ef ("kallsyms: Fix wrong "big" kernel symbol type read
> from procfs")
>
> And the one in this thread could in principle be backported too to
> 6.18.y now that the fix is there, no?

Thanks for your work! I think it should be fine once the backports land
to distro kernels.

Namhyung