Re: [PATCH v1] perf parse-events: Fix parsing of >30kb event strings
From: Arnaldo Carvalho de Melo
Date: Sat Oct 04 2025 - 08:58:56 EST
On Fri, Oct 03, 2025 at 02:25:39PM -0700, Ian Rogers wrote:
> On Wed, Sep 17, 2025 at 11:05 AM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> > On Thu, Sep 4, 2025 at 9:26 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> > > Whilst cleaning up "%option reject" make the header files accurately
> > > reflect functions used in the code and tidy up not requiring yywrap.
> > > Measuring on the "PMU JSON event tests" a modest reduction of 0.41%
> > > user time and 0.27% max resident size was observed. More importantly
> > > this change fixes parsing large metrics and event strings.
> > Ping. I think this may have gotten lost in noise about things like
> > hardware json and the python metrics. It is a small change, bug fix
> > and performance win. It can land independently of anything else. PTAL.
> It'd be nice to land this for the v6.18 pull. I don't think it has any
> visible implications and just makes stuff better.
Applied and now testing on the container build set.
- Arnaldo