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
F170684400: D58401.id182477.diff
Sun, Sep 6, 12:38 AM
F170674192: D58401.id182557.diff
Sat, Sep 5, 11:17 PM
F170673887: D58401.diff
Sat, Sep 5, 11:15 PM
Unknown Object (File)
Sat, Sep 5, 8:35 AM
Unknown Object (File)
Sat, Sep 5, 7:52 AM
Unknown Object (File)
Thu, Sep 3, 7:24 PM
Unknown Object (File)
Tue, Sep 1, 10:49 PM
Unknown Object (File)
Tue, Sep 1, 10:17 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