3 ms·
There's an interesting update here which wasn't covered in the Fedora thread or this article: Very new Intel & AMD hardware supports a feature called shadow st
by rwmj 4y ago
There's an interesting update here which wasn't covered in the Fedora thread or this article:
Very new Intel & AMD hardware supports a feature called shadow stacks ("shstk"). This is a copy of the true stack stored separately by the CPU (for security reasons - to avoid stack smashing). These processors also allow you to read out the shadow stack and you can use that to construct an accurate stack trace w/o frame pointers.
(There are good reasons why this shouldn't affect the Fedora decision short-term. It requires hardware which is very new, and I believe support is not quite there in perf. Also on some hardware the number of frames in the shadow stack is limited, apparently even more recent hardware lifts this restriction?)