HomeFreeBSD

tests/sys/pmc: only build if MK_PMC != no

Description

tests/sys/pmc: only build if MK_PMC != no

This unbreaks the build when pmc support is explicitly disabled via the
aforementioned build knob.

MFC after: 10 days
Fixes: 2cfd82f74 ("hwpmc: add regression tests for ...")
Differential Revision: https://reviews.freebsd.org/D58401

(cherry picked from commit a18e773d2776a65c1a2a0418cbec9cf5ef526b53)

Details

Provenance
ngieAuthored on Jul 22 2026, 7:53 PM
netchildCommitted on Aug 3 2026, 5:31 PM
Differential Revision
D58401: tests/sys/pmc: only build if MK_PMC != no
Parents
rG6d85b0a8761f: hwpmc: add regression tests for detaching a live process-mode PMC
Branches
Unknown
Tags
Unknown