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
F176665681: D59370.id189834.diff
Tue, Oct 20, 4:58 PM
F176603801: D59370.id189834.diff
Tue, Oct 20, 4:10 AM
Unknown Object (File)
Mon, Oct 19, 11:00 PM
Unknown Object (File)
Mon, Oct 19, 6:31 PM
Unknown Object (File)
Wed, Oct 14, 7:29 AM
Unknown Object (File)
Wed, Oct 14, 3:07 AM
Unknown Object (File)
Sat, Oct 10, 5:05 AM
Unknown Object (File)
Sat, Oct 10, 5:04 AM
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 78186
Build 75069: 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.