[lttng-dev] LTTng user-space callstacks
milian.wolff at kdab.com
Fri Mar 27 13:18:09 EDT 2020
On Freitag, 27. März 2020 14:55:08 CET Mathieu Desnoyers wrote:
> Last time I checked, the main issue with perf's handling of cases that lack
> frame pointers is that they grab a ~2-4kB worth of stack data into the
> trace, and then post-process it with libunwind. This might be OK for
> sampling use-cases, but is not something I consider appropriate for tracing
> due to considerably increased use of tracing throughput.
> Has the situation changed on the perf side ?
Perf still does this. But heaptrack, of which I'm the main author, uses
libunwind to unwind on every heap allocation and it's plenty fast. Obviously
the impact is measureable and it's far away from even close to zero overhead.
But it's super useful. I guess having that capability in LTTng would be
similarly useful and if it's documented to have an overhead people can use it
Milian Wolff | milian.wolff at kdab.com | Senior Software Engineer
KDAB (Deutschland) GmbH, a KDAB Group company
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3826 bytes
Desc: not available
More information about the lttng-dev