pmcstat -z32 -G truncates callgraph to 8

Brendan Gregg brendan.d.gregg at gmail.com
Tue Oct 28 17:38:44 UTC 2014


G'Day Stefan,

On Tue, Oct 28, 2014 at 2:45 AM, Stefan Parvu
<sparvu at systemdatarecorder.org> wrote:
>
>> I'm using pmcstat to capture call graphs, however, these always seem
>> truncated to 8 stack frames. Anyone else hit this? Anyone know a fix
>> or workaround?
>
> On FreeBSD 11.0-CURRENT Im seeing these:
>
> kern.features.hwpmc_hooks: 1
> kern.hwpmc.softevents: 16
> kern.hwpmc.callchaindepth: 16
> kern.hwpmc.hashsize: 1024
> kern.hwpmc.nsamples: 1024
> kern.hwpmc.mtxpoolsize: 2048
> kern.hwpmc.logbuffersize: 4
> kern.hwpmc.nbuffers: 1024

Ah, thanks, I'm on 10.0-STABLE and I have:

kern.hwpmc.callchaindepth: 8

Glad it's something simple!

Brendan


More information about the freebsd-performance mailing list