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
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
F174429561: D57639.id188106.diff
Sat, Oct 3, 3:43 AM
F174411833: D57639.id188254.diff
Sat, Oct 3, 12:27 AM
Unknown Object (File)
Fri, Oct 2, 7:55 PM
Unknown Object (File)
Fri, Oct 2, 9:52 AM
Unknown Object (File)
Fri, Oct 2, 5:47 AM
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.