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
F173980317: D58401.id182477.diff
Tue, Sep 29, 6:37 PM
Unknown Object (File)
Sat, Sep 26, 8:31 AM
Unknown Object (File)
Fri, Sep 25, 4:51 AM
Unknown Object (File)
Fri, Sep 25, 2:56 AM
Unknown Object (File)
Tue, Sep 22, 5:00 PM
Unknown Object (File)
Tue, Sep 15, 7:00 AM
Unknown Object (File)
Mon, Sep 14, 4:17 AM
Unknown Object (File)
Sun, Sep 13, 6:06 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 75022
Build 71905: arc lint + arc unit