On Jul 18, 2006, at 7:23 PM, Juho Snellman wrote:

But also I wonder exactly what the profiler samples.  Does it just

sample the function that is currently executing or does it sample

the entire call stack?


Neither. By default it samples eight levels of the call stack on x86

and x86-64, and two levels on other platforms.


Thanks Juho.  Just one more question, if 8 and 2 are the defaults for this, is it possible to increase them?  Or are there hard limitations on how far back in the stack it's possible to look when sampling?

Ben