From nobody Tue Apr 7 16:20:24 2026 Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A71453CBE8C for ; Thu, 12 Mar 2026 15:06:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773327971; cv=none; b=EVzE2hPIp/bVmiUafyVeTxkfpTwbcZpfEoXY1ocLP46IIfu9rA1pxR0B5maQMvY3fNtX31LPT9htnInIrt9NTpQ07SWUbBjsSFurrL+oW9GMpmVR7q+IFlfkiHBjBojxUsSOz8TOC2h92q0oQBHd71negz18blwOLPnMLLfOZvc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773327971; c=relaxed/simple; bh=F1US9094z0fvYx9vK05QZF2pya5heKfNhqy2rm6xyK8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CLBRHCqbmTWY7/X+EIWJ3nQJ1uKcgzHYKLWe8P/NPpJ/caYLTUf1BAQ7/0jZJiSnpSePom8nwuQCVtcLGWIvg6VlEWy9bnQ8EFPCK5pEsEIZngwzxg5bc7SENumEhx/Od6wqYfhMtUTa954X+dOSxSSoY1vyhAd++jMaanxta/4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bitbyteword.org; spf=pass smtp.mailfrom=bitbyteword.org; dkim=pass (2048-bit key) header.d=bitbyteword.org header.i=@bitbyteword.org header.b=oK1AYdGs; arc=none smtp.client-ip=209.85.210.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bitbyteword.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bitbyteword.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bitbyteword.org header.i=@bitbyteword.org header.b="oK1AYdGs" Received: by mail-ot1-f41.google.com with SMTP id 46e09a7af769-7d73ccee442so1187018a34.1 for ; Thu, 12 Mar 2026 08:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bitbyteword.org; s=google; t=1773327969; x=1773932769; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/W9gh7QrUGTnp1xN3w+c7Mh9hTc3a8AN2H8zLSFP7JY=; b=oK1AYdGs0URRj1PhuBKpF0pD+b5FSA1t6sLHj66zF/nlL8E9GWsB7yy6EdCxrWNn0v qtWAY5t6LBmkDVaSsxjuDredsQcU9g2xJBnRFnSAiSONL9jQIM4oWWFjocObvWecThP5 wS48+EPQHBpgqrosknourzSV10vo/99JZMeAeaKGogXAM42wVPuBrwu+g6AuTEfra6PT i3VtbxANDjn0JX54z6YiJ8IGwrUTN9Oz3f+VuNVlV8tcdMpDrmMHUbij6C9ysEkXgz8n DJGxY6pOKJfaq9oJE6HElSrxsuRcRlNe0KmYFMMyqwFa/in37vMnu15AXZG9pak0jDDb aSMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773327969; x=1773932769; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=/W9gh7QrUGTnp1xN3w+c7Mh9hTc3a8AN2H8zLSFP7JY=; b=uJ1/gwckMPo6/Le2lC8C4QQS6/ultHeHaqA8H8opeUXPW/i0ND/vyuIomqPKgH5mO1 eKdTxPQKQLsiArXOZh0PVRjP/2Ab1HPrYn6IwlzuQEug9hAXO34O3X1QzMpogf0H6ozx /fsN1FZBr9M8MFuSveHTYHtYTLUPxysJkIDoeW5UvGDeLSiqSk+mmMwH50FKQi9d2riT jxkORwNybgeSwsaYjJ/2a66uPCcD07txYLxsNN3i5zx9ZZvPe/FpwbqMVebI5dKCHmA1 6wr8hE8qGYbGstCQrFiSFqoPWoUVgEjbYzLctJpkDPGLdB8ss9ZxjvwParSzG08lm9QG Mf+g== X-Forwarded-Encrypted: i=1; AJvYcCVzOVZJAiA5SewHhxtaskOvUwiltWyntg73VV1lKDqCkTFDRMby8RxRxmXAxPNdpPK0okxZOxVho7yI74g=@vger.kernel.org X-Gm-Message-State: AOJu0YwMaTd7Ij83QmDN1a9Hgu7ptBgGMfmpn5op8R3JQqNkOc7ZK4q+ uHryYnYPtkXebYu3Cwv8++iy5+/Y5fcA5p56UYVR9iqbHxLe1jvzQbvIV8HdlUHk9Z4= X-Gm-Gg: ATEYQzz25P39yohuUWyOGWGsLvr2mLKfXw7nOM/UrnDe4kBkguPxoONaaWv9qo6Nc4h AMnGBaqnSvUOw7EuhdBDJWkzq/ZvbKWIEc2Vx3XrwqrfQwlxNOUFqJ2ZbJwqODAuprgDavIQYQv 7CYya8BYYNr77kSeWKZCzDcmWtu0t6kMVVjH6SaX1/HFsUO2gnH9Sx2dDRMjK1wB098BoeGVwdj 2qDV98lrnCx7urSymUT1UdEW+14MrK4g0psQkRa0yqCnAU/IG2C+znQt7VIn6fY/o89PSicuYaX DnPvsrngUkzXwMi2uqUZaTWkfOt40EgiBWuN7hn5iabSGhRMH/6b7wccNEJ2eJm3eLbNYY5MCIT +/EV6S5upq9dGi88aWD7BRGNjg5L1nQ+49BcVRs7/4eT4ko7gBxyqE5m5JrBhKVDkCt9Uz08t4H VAl4MJ2WgDNmvhUdqhS0EszI+iOJSO0NDZY2dqhSbBbdleP2OgPNdy2t+D/SXFnNyxOg== X-Received: by 2002:a05:6830:380c:b0:7cf:d784:5d9 with SMTP id 46e09a7af769-7d76a621267mr4279238a34.16.1773327968610; Thu, 12 Mar 2026 08:06:08 -0700 (PDT) Received: from vinmini.lan (c-73-143-21-186.hsd1.vt.comcast.net. [73.143.21.186]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7d76aedae57sm4321776a34.28.2026.03.12.08.06.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Mar 2026 08:06:08 -0700 (PDT) From: "Vineeth Pillai (Google)" To: Cc: "Vineeth Pillai (Google)" , Steven Rostedt , Peter Zijlstra , Srinivas Pandruvada , Jiri Kosina , Benjamin Tissoires , Zhang Lixu , Andy Shevchenko , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: [PATCH 11/15] HID: Use trace_invoke_##name() at guarded tracepoint call sites Date: Thu, 12 Mar 2026 11:05:06 -0400 Message-ID: <20260312150523.2054552-12-vineeth@bitbyteword.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260312150523.2054552-1-vineeth@bitbyteword.org> References: <20260312150523.2054552-1-vineeth@bitbyteword.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" Replace trace_foo() with the new trace_invoke_foo() at sites already guarded by trace_foo_enabled(), avoiding a redundant static_branch_unlikely() re-evaluation inside the tracepoint. trace_invoke_foo() calls the tracepoint callbacks directly without utilizing the static branch again. Suggested-by: Steven Rostedt Suggested-by: Peter Zijlstra Signed-off-by: Vineeth Pillai (Google) Assisted-by: Claude:claude-sonnet-4-6 --- drivers/hid/intel-ish-hid/ipc/pci-ish.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/intel-ish-hid/ipc/pci-ish.c b/drivers/hid/intel-is= h-hid/ipc/pci-ish.c index ed3405c05e73c..01334a6599971 100644 --- a/drivers/hid/intel-ish-hid/ipc/pci-ish.c +++ b/drivers/hid/intel-ish-hid/ipc/pci-ish.c @@ -110,7 +110,7 @@ void ish_event_tracer(struct ishtp_device *dev, const c= har *format, ...) vsnprintf(tmp_buf, sizeof(tmp_buf), format, args); va_end(args); =20 - trace_ishtp_dump(tmp_buf); + trace_invoke_ishtp_dump(tmp_buf); } } =20 --=20 2.53.0