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
F174529124: D57639.id188106.diff
Sat, Oct 3, 11:08 PM
F174524510: D57639.id188469.diff
Sat, Oct 3, 10:17 PM
F174524503: D57639.id188254.diff
Sat, Oct 3, 10:16 PM
F174524101: D57639.id188106.diff
Sat, Oct 3, 10:12 PM
F174524096: D57639.id188106.diff
Sat, Oct 3, 10:12 PM
F174508708: D57639.id188469.diff
Sat, Oct 3, 7:30 PM
F174508630: D57639.id188469.diff
Sat, Oct 3, 7:29 PM
F174489116: D57639.id188469.diff
Sat, Oct 3, 3:50 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 76450
Build 73333: 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.