Page MenuHomeFreeBSD

hwpmc: add deterministic PMU group test controls
Needs ReviewPublic

Authored by afscoelho_gmail.com on Sep 3 2026, 9:33 PM.
Tags
None
Referenced Files
F174932359: D59370.diff
Wed, Oct 7, 1:29 AM
F174921594: D59370.id188476.diff
Tue, Oct 6, 11:58 PM
Unknown Object (File)
Tue, Oct 6, 3:43 PM
Unknown Object (File)
Tue, Oct 6, 5:53 AM
Unknown Object (File)
Mon, Oct 5, 4:20 PM
Unknown Object (File)
Mon, Oct 5, 9:53 AM
Unknown Object (File)
Mon, Oct 5, 4:43 AM
Unknown Object (File)
Sun, Oct 4, 5:40 PM
Subscribers

Details

Summary

Add debug-only failpoints, hold gates, live-object counters, sample accounting, and residual-state controls used by the PMU grouping ATF tests. The controls live under kern.hwpmc.test and compile to no-ops when HWPMC_DEBUG is disabled.

Sponsored by: AMD

Signed-off-by: Andre Silva <andasilv@amd.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77650
Build 74533: arc lint + arc unit

Event Timeline

Refresh after repairing the preceding D57633 preview boundary.

Rebase onto main after D58256 landed. Keep the attach test hook with the new p_candebug() check.

Rebase on main (D60141 and D60185 are committed). No change.