HomeFreeBSD

hwpmc: ABI fixes

Description

hwpmc: ABI fixes

  • increase pmc cpuid field from 8 to 12 bits
  • add cpuid version string to initialize entry in the log so that filter can identify which counter index an event name maps to
  • GC unused config flags
  • make fixed counter assignment more robust as well as the changes needed to be properly identified for filter

Details

Provenance
mmacyAuthored on
Parents
rS334595: hwpmc: support sampling both kernel and user stacks when interrupted in kernel
Branches
Unknown
Tags
Unknown