5–7 Oct 2026
Europe/Prague timezone

Handling stack traces in tracing

Not scheduled
20m
Tracing MC Tracing MC

Speaker

Steven Rostedt

Description

Stack tracing of events can be very useful, for both kernel stack tracing as well as user space stack tracing. Stack traces can fill the buffer quickly with many duplicate stacks. Having a way to consolidate them would make it possible to store even more data. There's been efforts to do this but how to implement it and the interface is still an ongoing subject.

On top of that, tracing user space can have the same issue. With the deferred stack trace, it is now possible to do more when taking the stack trace (like reading the vma and finding what files are associated with the stack as well as reporting the actual file offset instead of the virtual memory of the task). Work for this has been done as well but it also has issues. Figuring out how to implement this in a way that everyone is satisfied would be a goal of this topic.

Author

Presentation materials

There are no materials yet.