Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp310014lqb; Tue, 4 Jun 2024 12:02:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwefrtvqqWPgk8+S70Zfp0H5OJ7bG6ZNHW+s26mzaNMEyLq1MhNskFOkhJ4Hlpwv8XmPx5JG6ol+aSpvSz4GJLl0v7SGgTY1FIb2ntJQ== X-Google-Smtp-Source: AGHT+IExskUwS31bDztnfi5oT/yn7Sr56ZJNtFaLl/US63chsuRaaJGUO1i53TUR6dsN5Bt+vJL7 X-Received: by 2002:a05:6871:613:b0:24c:b1d8:8475 with SMTP id 586e51a60fabf-25121fed120mr492200fac.42.1717527743739; Tue, 04 Jun 2024 12:02:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717527743; cv=pass; d=google.com; s=arc-20160816; b=euJ/U1WlYzmvTNVkFYYitLqTKlHCP/LlfjAHvPja+/fBl8psNFIREmQOVV4yQpJmhF OaZRJTLg7kTvyYeZIXE1Ce/RZ1D+rSi7D1+BOjg9rLZEJCuUgPSDSNI/hjFOSNnv7Mpb 2eW6sKG3p1wSDz6m7JFrwUUAQ8kqjc7YC3v09rc9sbxw9KaJXE7yvYIrWLHspZDasSLE GF3U9Md8d7vQAl2yO/aauWeHWsoXPPvxs0ZU4wbjocd36xQoRXrXLvAZCt2bdQ5aGauv MEfitI//qVWHwOJHP6SdsaVsTc4Jjj/PM868u+RvZWQVy8WQPTP7/N/Yf/kGKspyfqGH qNeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mhvutC3PpSO8QWLEBBM35/A9wr9qBR/Axb/H3jDUlEA=; fh=cKW/YvXhrSyP4dpLU/1Bm5Bbq69S/GThqdLjxzkrMFQ=; b=ub2iw5d7aO9iB5DaLctqz7O1wbFk5XiBEmnxNoOBSQQkXQVk24hD2TLVJIRUsERjJO /nt5+S99q/D45sG2tsJpMYLCEygPog+EstGkjW7eUHz5vrFRpvGPEL4INM/4yAB6eSYH nvh7LCuIZsGJ2OltrHsIfgoiHiaIs5oKlvDmTwUAE/RAf++96JOGiO2mWPoXnUKdO9Q+ 1xC3E1kgvtQw+1hPr9+pGXFnElBXaO62c7G18IopfM137fizrdlUaGm2fC4kz1Lwbsip HW14SaPnxW9BQOYpDIBoFnB9evByJlzRnx+muj40eQx1EM2WOW7H7EOGmG01e9CRC/WN TrXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JrTiIcOC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201265-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 71dfb90a1353d-4eafedcb9f8si2083342e0c.107.2024.06.04.12.02.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 12:02:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JrTiIcOC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201265-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6416C1C23FB5 for ; Tue, 4 Jun 2024 19:02:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73FB314AD0C; Tue, 4 Jun 2024 19:02:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JrTiIcOC" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99EFB1482E7; Tue, 4 Jun 2024 19:02:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717527735; cv=none; b=RVGix98LnrgOfr4us5Q/VhN2zIwv5VNrrodxQLI8INWrMYyLbW5E4ojbuiZB+a1108FrcG492HC6zbnOf+gv/J+N8mJGlPeCL4Ps3F5M2Z1m+xKiztD0UhvuAP/vY5V68HpFxhFue1PHkyC7tS7CblKmBKUe2SbdGNXxmuNWDxg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717527735; c=relaxed/simple; bh=RkN5Y3HmGlKLDqvR91ATdvyLyqquL2+fSb4Vj+4qCXg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=McWI99pYjd1UsuEDwouSuNjqHmLiwr3pZdjYeb6ngVVDqQC3BnMe1SOnjQpJELQkno7bK/auUgaM8aAvRwjAvVdzzG9ZvEFPllXgdY7EbvJx9S2iwbE2HdJ681A0BwZfBvKRCYG3Dwsu6sS9KcxBhpeKq4rLacV8bmbeZNHVHTI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JrTiIcOC; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90958C2BBFC; Tue, 4 Jun 2024 19:02:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717527735; bh=RkN5Y3HmGlKLDqvR91ATdvyLyqquL2+fSb4Vj+4qCXg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JrTiIcOCw5JPVRMul/mUQjyu+td7oOtApNUepXHrPNp47lp8/lbdZHAwUOj1JamyH IG+rhfcbtIb5Jn/I7SQEBvUbcs1WhAORSiQ9FqiANc0cbnNKy2AvXwl3QELlb39ute Qswr2DlBIct3ErRXEPtYM7cEKC/R0bbogwbPNPDfyRBCkgwo5lN6v+YHD8KV9K0B0Y GYmtX0mGXSrJDsOZgRnbJiALdfQQKRo8miov9b7X8BbrTd8Qy26Q92HfIJCzVJjLoT ivCBjOZDmAEQa/w5baIJkwwl6WbpgZJ0rZlmYurSNl7mCX9kcMaCVjs+WQLpcaZeVb zTQUbnXDScCaw== Date: Tue, 4 Jun 2024 16:02:08 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Milian Wolff , linux-perf-users@vger.kernel.org, Namhyung Kim , Arnaldo Carvalho de Melo , Linux Kernel Mailing List Subject: Re: perf 6.9-1 (archlinux) crashes during recording of cycles + raw_syscalls Message-ID: References: <23879991.0LEYPuXRzz@milian-workstation> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 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 > > 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