aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/sendmail
diff options
context:
space:
mode:
authorOsvaldo Janeri Filho <ojanerif@amd.com>2026-11-04 17:51:45 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2026-11-04 17:53:55 +0000
commita01ea5156198fd6ae284a0d84b957b978fa017eb (patch)
tree472cb0280f291c67b05e90c50615468e5291652a /libexec/rc/rc.d/sendmail
parent869bb2bbb7809e79cd672a6adc46bdc79a38f382 (diff)
libpmc: Map AMD Family 1Ah models 00h-0Fh to amdzen5HEADmain
178d0b5b8da7 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 <ali@mashtizadeh.com> Signed-off-by: Osvaldo Janeri Filho <ojanerif@amd.com> Fixes: 178d0b5b8da7 ("libpmc: Import AMD Zen 6 PMU events.") Sponsored by: Advanced Micro Devices, Inc. Differential Revision: https://reviews.freebsd.org/D60625
Diffstat (limited to 'libexec/rc/rc.d/sendmail')
0 files changed, 0 insertions, 0 deletions