Re: git: d38b3a5ead0d - main - libpmc: Fix AMD L3 counter parameter parsing

From: Mitchell Horne <mhorne_at_freebsd.org>
Date: Tue, 11 Aug 2026 14:28:01 UTC
On 8/9/26 16:17, Mitchell Horne wrote:
> The branch main has been updated by mhorne:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=d38b3a5ead0d3507080da5321144219b13d43aa9
> 
> commit d38b3a5ead0d3507080da5321144219b13d43aa9
> Author:     Ali Mashtizadeh <ali@mashtizadeh.com>
> AuthorDate: 2026-07-31 02:11:17 +0000
> Commit:     Mitchell Horne <mhorne@FreeBSD.org>
> CommitDate: 2026-08-09 19:16:49 +0000
> 
>     libpmc: Fix AMD L3 counter parameter parsing
>     
>     Fix two small bugs affecting the event parsing of AMD L3 counters.
>     AMD's manual and JSON disagree about the naming scheme on recent
>     processors.  I use the naming scheme present in the recent PPRs to be
>     consistent, so in the JSON parser we rename 'allslices' to 'allsources'
>     just as we already do with sliceid and sourceid.  Also ensure that we
>     parse the 0x prefix present in the newer JSON files.
>     
>     Reviewed by:    mhorne
>     Sponsored by:   Netflix
>     MFC after:      1 week
>     Pull Request:   https://github.com/freebsd/freebsd-src/pull/2180
My mistake, that should have been:

Pull Request:   https://github.com/freebsd/freebsd-src/pull/2346