Page MenuHomeFreeBSD

tools/regression/pmc: hwpmc multiplex rejection test
Needs ReviewPublic

Authored by afscoelho_gmail.com on Jun 18 2026, 7:06 AM.
Tags
None
Referenced Files
F174932334: D57639.diff
Wed, Oct 7, 1:29 AM
F174909246: D57639.id188254.diff
Tue, Oct 6, 10:06 PM
F174898867: D57639.id188106.diff
Tue, Oct 6, 8:36 PM
Unknown Object (File)
Tue, Oct 6, 6:15 AM
Unknown Object (File)
Tue, Oct 6, 2:41 AM
Unknown Object (File)
Mon, Oct 5, 11:23 PM
Unknown Object (File)
Mon, Oct 5, 12:43 AM
Unknown Object (File)
Sun, Oct 4, 8:29 PM
Subscribers
None

Details

Summary

Negative-path multiplex regression test: build a (cores + 1)-event
group with no PMC_F_GROUP_MUX, expect commit to return ENOSPC.

Sized off probe_core_pmcs() so it adapts to any AMD Zen variant
(6 PMCs on Zen2/3/4, 6 on Zen5 core, etc.).

Sponsored by: AMD
Signed-off-by: Raghavendra K T <raghavendra.kt@amd.com>

Diff Detail

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

Event Timeline

afscoelho_gmail.com updated this revision to Diff 185753.

Update to the rebuilt PerfMonV2 grouping and multiplexing stack.

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