Page MenuHomeFreeBSD

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

Authored by ngie on Jul 22 2026, 8:03 PM.
Tags
None
Referenced Files
F175717781: D58401.diff
Mon, Oct 12, 6:22 PM
F175616091: D58401.diff
Mon, Oct 12, 1:57 AM
Unknown Object (File)
Sat, Oct 10, 7:52 AM
Unknown Object (File)
Fri, Oct 9, 5:38 PM
Unknown Object (File)
Fri, Oct 9, 5:02 PM
Unknown Object (File)
Tue, Oct 6, 9:12 AM
Unknown Object (File)
Fri, Oct 2, 1:48 AM
Unknown Object (File)
Tue, Sep 29, 6:37 PM
Subscribers

Details

Summary

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

MFC after: 11 days
Fixes: 2cfd82f74 ("hwpmc: add regression tests for ...")

Test Plan

The directory continues to build on my system where MK_PMC != no, but is no longer built on my system where MK_PMC == no.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable