TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How does Linux's perf utility understand stack traces?

37 pointsby shahbazacalmost 9 years ago

2 comments

habermanalmost 9 years ago
It isn&#x27;t listed in the article, but I wrote about this in my blog also: <a href="http:&#x2F;&#x2F;blog.reverberate.org&#x2F;2013&#x2F;05&#x2F;deep-wizardry-stack-unwinding.html" rel="nofollow">http:&#x2F;&#x2F;blog.reverberate.org&#x2F;2013&#x2F;05&#x2F;deep-wizardry-stack-unwi...</a>
cm3almost 9 years ago
What&#x27;s the simplified explanation how perf uses CPU performance counters to know what functions are called. I mean, what kind of book-keeping is going on that allows it to map instructions executed to symbols (functions) called?
评论 #12122656 未加载