(no title)
zznzz | 3 years ago
This is also common for samples in leaf functions.
compiler & tool chain folks tend to think (quite justifiably imo) that this and similar stuff is fine because dwarf allows reconstructing everything perfectly. The problem is just that the user experience of dwarf-based unwinding is poor, because the only implemented method in Linux is sampling the contents of the stack and doing the unwind in post processing.
DaveFlater|3 years ago
sitkack|3 years ago
Having high quality low cost stack straces is important for continuous profiling. ref Knuth.