Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp580404lqr; Wed, 5 Jun 2024 14:54:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUFEPdVlQrl9YNpbsa3tV1j1JpGu0wSA0bkY+kYa5o41XnCVHeJ7OzB7YVcgyQeX6tDvA7LDCnUKx9e50OWdeN0P9FR3zWHIieIRCaatg== X-Google-Smtp-Source: AGHT+IFU4ylJCOjfFQiVwBN3RbBMo5e3J0XtbA/iNkfmHAcbJOW5GxSsvemiG/DdXpT1f4kzViGs X-Received: by 2002:a17:906:3615:b0:a68:7212:7184 with SMTP id a640c23a62f3a-a6c75fb0aecmr77981466b.14.1717624468220; Wed, 05 Jun 2024 14:54:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717624468; cv=pass; d=google.com; s=arc-20160816; b=RCvBaI/4iH8b8PxNLidYwQ3oCxcx+Q3sZolMowA81y6vt0wJDLt0TW6JQeB2/W2R7F MX2zI8ACQHihOFU9Kiu7u9l9mBqld/bOEMC+MzJk+4bh6omVmaRn5B7eLFnRKBR7+GmX LC/XLpIrnBQ+72V2924TB4X0Pq7FhZeW0xhL5GTGe+0UjNVazECHTEz1XO50hXWnkvUe 1vQVuA2GDERWqn579hv6fNqBGy5NxY+zJeH42cr9wyOqpa/aFDQPsug77FfdJbelh3W7 B8xyeCGfaGNvTZStrIey3gDkzGw4zmpRVzE446ZXbnbV/5P/8KWHUeXdSqfC5wovK3WZ UGZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=xYZ42rJTDzr9jEipIsEZtO0z0/IBLvJzEFixbOmhSB8=; fh=gBDGEU589HlA9NsgPFxk+4xDpoKEpFgyEOSiUkfL+Xc=; b=O5WvygKQs/Epc/TTU9Rcqi8bWf+leJ3WqI96rAV3lKu7EfcVvmyS+d6yD7GG4CTbyo rl5CnrX1nTVzn23vw9vu6dKTsbqOnRCnlX2S5NfD9MXa+DIeqgLhK8b2eQHZmoUtO9bt XS33TOUmCrp0Ld4PGVZ9iMOd4cX8sPGDyPsfoEHDjvx2qQIuAEZKQn+Ajq2KVHIFm6cT 8u4syPJF66acC0CSMKcvrfUIBkkiJWLzONMnwjgMVVmhRx4mFKw66y7yPJvDHztBtGku tknK6aNw9JK/rtlYxS46htnSyZh35oUa+Pwn6ltnWGCt80IhAAWlgy5xZca4ZA8xRJiI nCxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-203326-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203326-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a68edf45370si416851966b.184.2024.06.05.14.54.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 14:54:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203326-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-203326-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203326-linux.lists.archive=gmail.com@vger.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 am.mirrors.kernel.org (Postfix) with ESMTPS id EC3911F24AFD for ; Wed, 5 Jun 2024 21:54:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 642BF15F3FF; Wed, 5 Jun 2024 21:54:20 +0000 (UTC) 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 E0067E567; Wed, 5 Jun 2024 21:54:19 +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=1717624459; cv=none; b=Ah3VVL3+1evzpY/45HPyLfrgBjG1AA8PxfjWPlJIgbjd3kZ55Y0lDI9/YRnfVf9AhT+/pQzDg0ULbv2GUIyjPEJMFMkrR4mnl8+7Nd3Eix6eRbekSulpU7M/4BCSBkFdFC2uuXuRbru7D/lu9OgFCYVG6MI3aAUWZcQR0yhVZGw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717624459; c=relaxed/simple; bh=sPI6gUytCUQdUO8231L+OuoK8oZqXVA7yuHa2PeTVLQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dFX2cMXXV6E9B0E7LPJ8PNJua2LQO+sXqDmS7PEo9SdXXttsqPgGDvfzfp7wHZID/VlIHc6j/kVGiwzj21nXYNoCX9Ni4hjl+sbmU05vPc+cTz7wwQrfooZlCA+IthAgt7WE2E+2+4LjqKu+f/riuy00Qd9gvFwpEQXACdzuNtI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C118FC2BD11; Wed, 5 Jun 2024 21:54:18 +0000 (UTC) Date: Wed, 5 Jun 2024 17:54:28 -0400 From: Steven Rostedt To: "Masami Hiramatsu (Google)" Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Mark Rutland , Mathieu Desnoyers , Andrew Morton Subject: Re: [PATCH 3/5] ftrace: Remove "filter_hash" parameter from ftrace_hash_rec_disable/enable() Message-ID: <20240605175428.1a07acbe@rorschach.local.home> In-Reply-To: <20240606065018.0bf1d82a3bf9c526aee9a170@kernel.org> References: <20240604212817.384103202@goodmis.org> <20240604212854.883675803@goodmis.org> <20240606065018.0bf1d82a3bf9c526aee9a170@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 6 Jun 2024 06:50:18 +0900 Masami Hiramatsu (Google) wrote: > On Tue, 04 Jun 2024 17:28:20 -0400 > Steven Rostedt wrote: > > > From: "Steven Rostedt (Google)" > > > > The functions ftrace_hash_rec_disable() and ftrace_hash_rec_enable() > > always has 1 passed to its "ftrace_hash" parameter. Remove the parameter > > and pass in true to __ftrace_hash_rec_update(). > > > > Also add some comments to both those functions explaining what they do. > > > > Looks good to me. > > Reviewed-by: Masami Hiramatsu (Google) Thanks Masami, but I sent out a v2. Could you review those patches instead? https://lore.kernel.org/all/20240605180334.090848865@goodmis.org/ -- Steve