Re: [PATCH 1/1] perf symbols: Handle '1' symbols in /proc/kallsyms

From: Miguel Ojeda

Date: Thu Nov 06 2025 - 20:35:46 EST


On Thu, Nov 6, 2025 at 9:25 PM Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:
>
> So far, '1' symbols are Rust symbols, in the Linux kernel, for unnamed
> closures and its prefix code checking for stack space, Miguel, do you
> have something to add?

Wait, is `1` the symbol type? I don't know what that is. That column
in `readelf` isn't the symbol type, no?

And if I use `nm` on Fedora's `vmlinux`, I get a `t` (and the
`System.map` has the same). Something is fishy in `/proc/kallsyms`.

We don't handle the big symbol double-byte... I will send a patch.

Cheers,
Miguel