On 7/7/22 10:46, Frank Ch. Eigler wrote:
ngompa13 wrote:
> [...]
> I agree, this is a completely unacceptable statement to make. The
> problem isn't sysprof, the problem is that profiling is garbage on
> Linux by default.
That's an overstatement.
> And while maybe most developers may not bother to do profiling right
> now, we don't know if they wouldn't if profiling tools *worked*.
You said the problem isn't sysprof. Userspace profiling tools can fully
unwind with dwarf / .eh-frame if they make the effort. Several do.
The problem is that doing so has unacceptable performance. I believe
perf actually winds up doing so offline because doing so online is too
slow. That is why a different solution is needed, one that allows the
unwinding to happen efficiently without requiring frame pointers.
--
Sincerely,
Demi Marie Obenour (she/her/hers)