[lttng-dev] Record stacktraces at userspace tracing domain

2024-12-12 Thread Alexander Krabler via lttng-dev
Hi Mathieu,   On 2024-12-11 10:43, Mathieu Desnoyers via lttng-dev wrote: > Another approach then is to add tracepoints within your C++ standard > library functions. Then you can use the caller ip of _those_ functions > and pass them to the tracepoint as "ip" context override. That's difficult, as

AW: [lttng-dev] Record stacktraces at userspace tracing domain

2024-12-11 Thread Alexander Krabler via lttng-dev
Hi Christophe and Kienan, Internal On 12/2/24 4:17 PM, Christophe Bédard via lttng-dev wrote: > I did the same thing a while ago, i.e., trigger tracepoints on > malloc/free/etc. using liblttng-ust-libc-wrapper and collect userspace > callstack information (so that the indirect calls to malloc/fre

[lttng-dev] Record stacktraces at userspace tracing domain

2024-12-02 Thread Alexander Krabler via lttng-dev
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 tracin