From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) (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 B794D3CBE8D for ; Thu, 12 Mar 2026 15:06:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773327971; cv=none; b=cVMzm+u038TUyUilUgtFG48u5+UQ4VIr+9U7VH2L4uO57vSLrXInQoTG2pIINGkGeZa6aNpiQVIZoUrQDdxakv6qwjKJydNrpO3u/hhsbrwZjLVT8MZJhemoCAPkO3MmVxAZV6aZgXt1lFEeQtt0jUBRHl60g4Aj3+M0Eoauaak= 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.54 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-f54.google.com with SMTP id 46e09a7af769-7d73ccee442so1187016a34.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=WF38QniT1JcW3tEuRYm6wkh9IIlwp0vxSVOI37NfzrK13P894DUYI3lrdJ2O/eQSG+ icAI2lvcSB4urdah/lP+JsJoK+1VD7elQObGsu38+5LdwFYoQCmbz/c79ONQd7A/4WwJ UeyOiM0ryjBlafRI+bOnctukcw8jExpSD97pCiSFuKfnT/M5yilIOhYGCAmByazWwviV d4B+nkgOl0k4g4zwsbvhrVLGxr4VajrbuvJQW51o3PHqgjvCyv4Qz8xN1HYT7tpYh+MJ SY3Rw28eRUi8R22akrHVKllfixbbomge0t0gX4A6HkJGrlwcNoZQA3cA7lO5QNPViDMn OAoQ== X-Forwarded-Encrypted: i=1; AJvYcCX039x9eyH+Zoxj/AWWvswKXho9Fwp3lO8nxRFrloNhRBapzfK0fj92fjiT40yb6NzWQOQ5QcAbg1ssXNP4H/vFQZs=@vger.kernel.org X-Gm-Message-State: AOJu0YzyAeUP6KE8z29IcwDKTe8Nm6nwQtqfzdbFFSmdi9LCtUgTsyRL h7oQo9dvT/5ys4qD7kl8jjBsEEjnDsdFodD1IkpQ8lowE+jAGqEKBMHfFMcR20HONek= X-Gm-Gg: ATEYQzyzaIRt4TS0yV+GCl0KJgD8WOKcgOCC97WnC23gid9LehChQI4PUQ1egNkFNqz 6NZg6DofMTEGSN/HPZVIMbX5Qr12VxWpwMpGh2aDY9MzOibOUlyGZQ55nvQ6zJyy0DurMGtjrH0 grxyYIUQCBWQnYJOkjiKz0SxyQz7xoelWJJY4I6k2PncW6kOh4rJwe0Q6VVha1hSwDg26FTgARr UWIJmMaUqIYbGoLONI2eCgpCMObSUdaD5v0yhWJPoFaVJ66V1cBYnDlLbJNQ1mK+4/sdzERiISI qUdxY+4T0uYl4okrqKujPYpWLPMOc+GeUFgMM1LFeV2eNHuCbpByJABzRtLKLUgLuQk5pd+PfKB ZBwxADZtV3TYBD2sRj+ShU3GYjngHBrk5cDfI/ysql4MGv+JR3/2K3EwF6CbNPv8J54BXTlJGKQ TIpP677bAYYZdZm7PrMva3U7XYEE1OGySS8dzRtOONZLPoaPEbaEAEeOM5U64fwZ1Z/w== 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-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-ish-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 char *format, ...) vsnprintf(tmp_buf, sizeof(tmp_buf), format, args); va_end(args); - trace_ishtp_dump(tmp_buf); + trace_invoke_ishtp_dump(tmp_buf); } } -- 2.53.0