[lttng-dev] Record stacktraces at userspace tracing domain

Alexander Krabler via lttng-dev <[email protected]> Mon, 2 Dec 2024 16:29:45 +0000
Newsgroups org.lttng.lists.lttng-dev
Message-ID <VI1PR01MB6845D1C81221547CEC94B3A782352@VI1PR01MB6845.eurprd01.prod.exchangelabs.com>
Hello,

we want to record stacktraces at specific userspace events like e.g. calls to malloc and free using liblttng-ust-libc-wrapper.so.
There is the callstack-user context to achieve this in general, however, it seems like tracing of userspace stacktraces is only available in the kernel tracing domain.

Is there already a solution to achieve this goal?
If not, what would need to be done to achieve this?

Thanks,
Alexander