3 ms·
Nice analysis. It would be interesting to see comparison to Intel LBR. Also would be nice to know how profiling unwinding is done on Windows (maybe someone kn
by dezgeg 4y ago
Nice analysis.
It would be interesting to see comparison to Intel LBR.
Also would be nice to know how profiling unwinding is done on Windows (maybe someone knows how to summon Bruce Dawson).
- rwmj 4y agoAIUI the problems with LBR are two-fold. It only works on newish CPUs, and it only handles a limited number of stack frames (I heard 8, but maybe more on recent CPUs).
- amluto 4y agoCET’s shadow stacks, on the other hand, will solve this entire problem, both exactly and extremely efficiently.
- zznzz 4y agoIIUC Windows implements in-kernel unwinding using FPO debug data embedded in every executable.