HomeFreeBSD

Optimizations to the way hwpmc gathers user callchains

Description

Optimizations to the way hwpmc gathers user callchains

Changes to the code to gather user stacks:

  • Delay setting pmc_cpumask until we actually have the stack.
  • When recording user stack traces, only walk the portion of the ring that should have samples for us.

Sponsored by: Juniper Networks
Approved by: gnn (mentor)
MFC after: 1 month

Details

Provenance
jtlAuthored on
Parents
rS290812: Avoid setting schg in the objtree for lib32 build.
Branches
Unknown
Tags
Unknown