pmcstat -z32 -G truncates callgraph to 8

Ed Maste emaste at freebsd.org
Thu Nov 20 23:32:42 UTC 2014


On 31 October 2014 01:26, Brendan Gregg <brendan.d.gregg at gmail.com> wrote:
>
> Yes. When I'm using profiling data, I like full stacks for making
> flame graphs. For the FreeBSD kernel, 32 frames should usually be
> enough (I have a flame graph that reaches 24 frames for the kernel,
> but no more). For user-level, I'd probably need ~100. So making the
> compiled-in default to 32 would hopefully be sufficient for most
> kernel profiling, and one would need to bump that up for deep
> user-level stacks. I guess this would also need
> PMC_CALLCHAIN_DEPTH_MAX = 128 to work.

I have a review up to bump the default to 32 and the maximum to 128:
https://reviews.freebsd.org/D1203


More information about the freebsd-performance mailing list