Re: [PATCH v12 01/14] unwind_user: Add user space unwinding API

From
Steven Rostedt <rostedt@goodmis.org>
Date
2025-07-07 21:17:46
Also in
bpf, lkml
Reply to
Steven Rostedt, 2025-07-07
On Mon, 7 Jul 2025 15:42:45 -0400
Steven Rostedt [off-list ref] wrote:
On Fri, 4 Jul 2025 14:20:54 -0400
Mathieu Desnoyers [off-list ref] wrote:
quoted
quoted
None of the structures introduced will be exposed to user space tooling.    
Would it be possible to make those unwind APIs EXPORT_SYMBOL_GPL
so they are available for GPL kernel modules ?  
I'm OK with that, but others tend to complain about EXPORT_SYMBOL_GPL
for functions not used by modules in the kernel. But I personally feel
that LTTng should get an exception for that rule ;-)
I just noticed that this was to patch 1. The functions here probably
shouldn't be exported as they are more internal to the infrastructure.

In fact, I think I'll move that macro into the user.c code. I don't
think it should be used outside that function. And the
unwind_user_start/next() could also be static functions.

-- Steve
Thread (51 messages) 51 messages, 6 authors, last reply 2025-07-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help