Re: [PATCH 0/4] tracing: improve symbolic printing

From: Steven Rostedt
Date: Wed Oct 04 2023 - 12:34:24 EST


On Wed, 4 Oct 2023 09:22:05 -0700
Jakub Kicinski <kuba@xxxxxxxxxx> wrote:

> Potentially naive question - the trace point holds enum skb_drop_reason.
> The user space can get the names from BTF. Can we not teach user space
> to generically look up names of enums in BTF?

That puts a hard requirement to include BTF in builds where it was not
needed before. I really do not want to build with BTF just to get access to
these symbols. And since this is used by the embedded world, and BTF is
extremely bloated, the short answer is "No".

-- Steve