Re: [PATCH v2 5/7] perf jevents: Add python converter script

From: Andi Kleen
Date: Wed May 11 2022 - 17:47:38 EST



On 5/11/2022 2:15 PM, Ian Rogers wrote:
jevents.c is large, has a dependency on an old forked version of jsmn,
and is challenging to work upon. A lot of jevents.c's complexity comes
from needing to write json and csv parsing from first principles. In
contrast python has this functionality in standard libraries and is
already a build pre-requisite for tools like asciidoc (that builds all
of the perf man pages).


Well I was still hoping at some point we could have run time loading of events. But yes if that's not

happening then this probably the right approach.

-Andi