Re: perf 6.9-1 (archlinux) crashes during recording of cycles + raw_syscalls
From: Arnaldo Carvalho de Melo
Date: Tue Jun 04 2024 - 15:02:25 EST
On Tue, Jun 04, 2024 at 11:48:09AM -0700, Ian Rogers wrote:
> On Tue, Jun 4, 2024 at 7:12 AM Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:
> > Can you please try with the attached and perhaps provide your Tested-by?
> > From ab355e2c6b4cf641a9fff7af38059cf69ac712d5 Mon Sep 17 00:00:00 2001
> > From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> > Date: Tue, 4 Jun 2024 11:00:22 -0300
> > Subject: [PATCH 1/1] Revert "perf record: Reduce memory for recording
> > PERF_RECORD_LOST_SAMPLES event"
> > This reverts commit 7d1405c71df21f6c394b8a885aa8a133f749fa22.
> I think we should try to fight back reverts when possible. Reverts are
> removing something somebody poured time and attention into. When a
While in the development phase, yeah, but when we find a regression and
the revert makes it go away, that is the way to go.
The person who poured time on the development gets notified and can
decide if/when to try again.
Millian had to pour time to figure out why something stopped working,
was kind enough to provide the output from multiple tools to help in
fixing the problem and I had to do the bisect to figure out when the
problem happened and to check if reverting it we would have the tool
working again.
If we try to fix this for v6.10 we may end up adding yet another bug, so
the safe thing to do at this point is to do the revert.
We can try improving this once again for v6.11.
> regression has occurred then I think we should add the regression case
> as a test.
Sure, I thought about that as well, will try and have one shell test
with that, referring to this case, for v6.11.
- Arnaldo