Files
freebsd-src/lib
Osvaldo Janeri Filho a01ea51561 libpmc: Map AMD Family 1Ah models 00h-0Fh to amdzen5
178d0b5b8d adapted the Zen 5 pattern matching from Linux perf.
However, Linux prints CPU models with a single digit when under 0xF
(allowing |[[:xdigit:]] to match 0h-Fh), whereas hwpmc/libpmc formats
model numbers with two leading hex digits (00h-0Fh).

Fix the pattern to explicitly cover two-digit hex models in the 00h-0Fh
range, and add a test case verifying table selection across Zen 5 and Zen 6
cpuid strings.

Reviewed by:	Ali Mashtizadeh <[email protected]>
Signed-off-by:	Osvaldo Janeri Filho <[email protected]>
Fixes:		178d0b5b8d ("libpmc: Import AMD Zen 6 PMU events.")
Sponsored by:	Advanced Micro Devices, Inc.
Differential Revision:	https://reviews.freebsd.org/D60625
2026-11-04 13:53:55 -04:00
..
2026-01-13 10:19:04 -05:00
2026-09-01 15:28:28 +00:00
2026-11-04 15:09:36 +11:00
2024-10-14 10:26:17 -07:00
2025-01-01 15:11:06 -06:00
2024-10-14 10:26:17 -07:00
2026-01-06 12:56:50 -05:00
2026-10-26 10:35:42 +00:00
2026-09-13 18:09:38 -07:00
2026-09-01 14:49:24 +02:00
2025-10-03 19:46:55 +02:00
2026-03-15 00:41:29 -03:00
2025-11-24 10:47:10 -05:00
2025-08-08 13:27:26 -05:00
2024-10-08 16:13:39 -03:00
2026-10-18 11:24:20 -07:00
2024-10-14 10:26:17 -07:00
2024-11-12 12:11:51 -05:00
2026-10-21 13:24:44 +00:00
2025-09-30 09:14:05 +01:00
2026-01-06 04:26:53 +00:00
2026-03-13 23:49:53 +00:00
2026-04-08 14:22:45 -07:00
2026-01-15 07:28:28 +01:00
2026-09-15 10:22:38 -04:00