from Hacker News

How does Linux's perf utility understand stack traces?

by shahbazac on 7/19/16, 2:01 PM with 3 comments

  • by haberman on 7/19/16, 4:38 PM

    It isn't listed in the article, but I wrote about this in my blog also: http://blog.reverberate.org/2013/05/deep-wizardry-stack-unwi...
  • by cm3 on 7/19/16, 4:18 PM

    What'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?