From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) (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 7894C26E16C; Wed, 23 Jul 2025 22:29:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753309774; cv=none; b=K6NoSSzMHTK+b3aC5mv9XOubTikToF7dBWOqXiHIJUOgCPeaDSZcx0UDgFy4UU/sj/Gmy7ARq7vptVwn9U92O/GENmvWDsZh0cd/iGo41fWeZcw2TsBt8yoONL1vJTGqbQISg6neF3Dk8rsYDAsS0PJjKDooveP06hAp9o5ifmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753309774; c=relaxed/simple; bh=mL3oh+shmka845RhxhfspMRTL0Xj2jYKatISC+iC+Xg=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bYvUDYukVxIdjUcjsZOmrCKO6tns/ZRslxj5B47HycEek8m9E+mW0q4dYfOW0iLrrSqGBseVYMg3Iv+SEsr+PH4ke3cgKS6elaCE8dbsGpiLDansaFFCU57GoGRCMViAogmY7z0495KrjgshmmahoUiyH6XMzIWR0UtTu+ILB8Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org; spf=pass smtp.mailfrom=goodmis.org; arc=none smtp.client-ip=216.40.44.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=goodmis.org Received: from omf05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 0BDB214020E; Wed, 23 Jul 2025 22:29:31 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: rostedt@goodmis.org) by omf05.hostedemail.com (Postfix) with ESMTPA id 21E0B2000D; Wed, 23 Jul 2025 22:29:29 +0000 (UTC) Date: Wed, 23 Jul 2025 18:29:30 -0400 From: Steven Rostedt To: "Paul E. McKenney" Cc: Mathieu Desnoyers , rcu@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com, Sebastian Andrzej Siewior , bpf@vger.kernel.org Subject: Re: [PATCH v4 4/6] tracing: Guard __DECLARE_TRACE() use of __DO_TRACE_CALL() with SRCU-fast Message-ID: <20250723182930.2d0d59f1@gandalf.local.home> In-Reply-To: References: <45397494-544e-41c0-bf48-c66d213fce05@paulmck-laptop> <20250723202800.2094614-4-paulmck@kernel.org> <020d22f0-a95b-4204-a611-eb3953c33f32@efficios.com> X-Mailer: Claws Mail 3.20.0git84 (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 X-Stat-Signature: nkxqrgq5fofc15441rhaa6fo5s6qpyth X-Rspamd-Server: rspamout01 X-Rspamd-Queue-Id: 21E0B2000D X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Session-ID: U2FsdGVkX18ncpB1/OEDZezJEjJrrXr4ISpN5Xlm9Jk= X-HE-Tag: 1753309769-689421 X-HE-Meta: U2FsdGVkX1+vzZjNxcfJPmMWiYC3qNt5ZuS/ZRVLzeXytsHvsJUfLojLKAezakaDpH8K+DhUNqr7k8oBkqH4vl1J2BopsEh2S147pAtVPu6+1FYPnMHGgLd04O/P4ceSMtfZestzU7qd+4eSmO8DqwnmUOjr35SBlAXl1eng+APJPnmH7C5wsdhn52gOtARhuBS6Kb9xKejcCXws7Nq32DCfb8qsuFiqhrHf9b2K0mkkhj4Y/dYP+5u5Gy3MUWfHSe03HdHWb2FFIZK9y1hqwtO9pEVdCGC1u82tU9CL9Ud7l3UScrc+TQizCnpwcxh6csfKShj8ZLZm0+j3stwqgnA/mNNNyhIB On Wed, 23 Jul 2025 15:17:52 -0700 "Paul E. McKenney" wrote: > I believe that Steve provided me with the essentials for perf and ftrace, > but please check: f808f53d4e4f ("squash! tracing: Guard __DECLARE_TRACE() > use of __DO_TRACE_CALL() with SRCU-fast"). Note, there's nothing in the ftrace side that requires preemption disabled, but it assumes that it is, and adjusts the preempt_count that is recorded in the trace event to accommodate it. -- Steve