Re: [PATCH 0/3] perf tools: Enable strict JSON parsing

From: Andi Kleen
Date: Thu Oct 07 2021 - 19:52:04 EST



On 10/7/2021 4:05 AM, James Clark wrote:
After a discussion on "[PATCH 1/4] perf vendor events: Syntax corrections in Neoverse N1 json",
John Garry suggested that we can just modify the parser to make it more strict. Hopefully this will
remove the need to apply any future JSON comma fixup commits.

Applies on top of "[PATCH v2 1/3] perf vendor events: Syntax corrections in Neoverse N1 json" on
perf/core.

Looks good to me.  The Intel files are already generated by automated tools using the standard python JSON writer, I guess if it's out of sync someone must have edited it by hand. So it should be fine to fix it.

Reviewed-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>


-Andi