# 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 
- List: linux-trace-kernel
- Page: https://ratatoskr.run/linux-trace-kernel/2025/07/3124455
- Thread: https://ratatoskr.run/linux-trace-kernel/2025/07/3114813/t.md

```text
On Mon, 7 Jul 2025 15:42:45 -0400
Steven Rostedt [ref] wrote:

> On Fri, 4 Jul 2025 14:20:54 -0400
> Mathieu Desnoyers [ref] wrote:
> 
> > > 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
```
