HomeFreeBSD

hwpmc: support sampling both kernel and user stacks when interrupted in kernel

Description

hwpmc: support sampling both kernel and user stacks when interrupted in kernel

This adds the -U options to pmcstat which will attribute in-kernel samples
back to the user stack that invoked the system call. It is not the default,
because when looking at kernel profiles it is generally more desirable to
merge all instances of a given system call together.

Although heavily revised, this change is directly derived from D7350 by
Jonathan T. Looney.

Obtained from: jtl
Sponsored by: Juniper Networks, Limelight Networks

Details

Provenance
mmacyAuthored on
Parents
rS334594: dwatch(1): Update manual to reference actual release
Branches
Unknown
Tags
Unknown