Thread (16 messages) 16 messages, 4 authors, 2023-10-04

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

flat view

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-10-04 16:54:43
Also in: linux-trace-kernel, linux-wireless, lkml

On Wed, 4 Oct 2023 12:35:24 -0400 Steven Rostedt wrote:
quoted
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".
Dunno. BTF is there most of the time. It could make the life of
majority of the users far more pleasant.

I hope we can at least agree that the current methods of generating 
the string arrays at C level are... aesthetically displeasing.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help