Russ Cox personal blog

Hacking the OS X Kernel for Fun and Profiles

My last post described how user-level CPU profilers work, and specifically how Google’s pprof profiler gathers its CPU profiles with the help of the operating system. The specific feature needed from the operating system is the profiling timer provided by setitimer (2) and the SIGPROF signals that it delivers.
Points
174
HN comments
35
Submissions
1
Cited by
0 commenters

Systems & PerformanceSecurity & Privacy2013

On Hacker News

SubmittedTitle on HNPointsComments
Aug 13, 2013Hacking the OS X Kernel for Fun and Profiles by f2f17435

More from Russ Cox

All 43 posts →

Related posts from the same era