From nobody Thu Apr 2 22:05:13 2026 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 ED0DB3FE348 for ; Thu, 26 Mar 2026 14:26:30 +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=1774535191; cv=none; b=adQR6dQ7avgwirMiW5ZSjmZauazEk+ScUTkbdfZghM8tTn3Ras9BKOc58XFbJ2pEUKJoHQ1qXTuX64U8PtQxCjkNSlYUZUMUkL2Wx8RlOUYMBONt9IUNcO5nmEDkxFA226xuIpRlIy2GTwi5mTcp0rw6xWyNRTn4TSZ649UfYac= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774535191; c=relaxed/simple; bh=jov5e7jlVudlYB2gcxiyiPam4xfciFU+ds7ErRDdJuw=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=GhtueV3wcs/WmmVzlN0kStWiz8L1m6uc+KOj5Gp+et1cSIG+Ai2Sc/hSnTZVn7wjcLeSEor0Yw6DyuWd3RmBfGPyGpZxyDj6FmJ5LX8UuVy1cL+UlDb7ZQKB97vTNCgJiYd5ceFHNNDcOO7+8o27t9X1sY4il+ARl+SxSXQO+DA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hSPkFobb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hSPkFobb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD93EC2BCB3; Thu, 26 Mar 2026 14:26:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774535190; bh=jov5e7jlVudlYB2gcxiyiPam4xfciFU+ds7ErRDdJuw=; h=Date:From:To:Cc:Subject:References:From; b=hSPkFobbowYQjpZQPw+tus3RE4xnF8jRvri2dfa/uBqVnuQcdPDmfCeCPYpR6jIU1 ueSKsTUmpeWyZIFWRNmRBWtDzs3P0ROyphe446tXuJn8CHe3zyGylQ9rH2AHfu57Jx wM57qn1qSQXpxXYju2OpfC5FTytYMjMp/i+LUvwPzLOyqTl4he+/urPRrt7sZa/eR0 Cnuv2aq/fzWY5vlK/veBCuyH7ltSpxckEmgQ4wTlfZ9bNFmec8qW82d6hu090r23Tv zcSgfrJCkc89351CZPZ9tzjkpm6IQdoZMeyTXkI8pFMEahs01O8dxBC2e+n9d2u73M TJhUKRc6Bki/Q== Received: from rostedt by gandalf with local (Exim 4.99.1) (envelope-from ) id 1w5lg5-0000000DuDv-2CP6; Thu, 26 Mar 2026 10:27:17 -0400 Message-ID: <20260326142717.391191738@kernel.org> User-Agent: quilt/0.69 Date: Thu, 26 Mar 2026 10:27:05 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Peter Zijlstra , "Vineeth Pillai (Google)" , Wolfram Sang Subject: [for-next][PATCH 09/13] i2c: Use trace_call__##name() at guarded tracepoint call sites References: <20260326142656.794462952@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: "Vineeth Pillai (Google)" Replace trace_foo() with the new trace_call__foo() at sites already guarded by trace_foo_enabled(), avoiding a redundant static_branch_unlikely() re-evaluation inside the tracepoint. trace_call__foo() calls the tracepoint callbacks directly without utilizing the static branch again. Link: https://patch.msgid.link/20260323160052.17528-13-vineeth@bitbyteword.= org Suggested-by: Steven Rostedt Suggested-by: Peter Zijlstra Signed-off-by: Vineeth Pillai (Google) Assisted-by: Claude:claude-sonnet-4-6 Acked-by: Wolfram Sang Signed-off-by: Steven Rostedt (Google) --- drivers/i2c/i2c-core-slave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-core-slave.c b/drivers/i2c/i2c-core-slave.c index 02ca55c2246b..bebb7ba67e30 100644 --- a/drivers/i2c/i2c-core-slave.c +++ b/drivers/i2c/i2c-core-slave.c @@ -89,7 +89,7 @@ int i2c_slave_event(struct i2c_client *client, int ret =3D client->slave_cb(client, event, val); =20 if (trace_i2c_slave_enabled()) - trace_i2c_slave(client, event, val, ret); + trace_call__i2c_slave(client, event, val, ret); =20 return ret; } --=20 2.51.0