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

From: Mitchell Horne <mhorne_at_freebsd.org>
Date: Tue, 03 Nov 2026 14:30:22 UTC
On 11/1/26 05:57, Harry Schmalzbauer wrote:
> On 2026-08-09 21: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
> 
> 
> Hello,
> 
> do you still plan to MFC this one?
> It doesn't apply cleanly anymore, but seems to be a missing fix.
> 
> Thanks,
> 
> -harry

Thanks for the reminder. I have just MFC'd to stable/15, along with its
dependencies.

Cheers,
Mitchell