From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B939C44CAC6 for ; Fri, 22 May 2026 14:35:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779460505; cv=none; b=u312xhCDbv7Vovb1zYN9g/bd9obs3nguCLs7sui551+eXlVgVauNVmkJJd3mONg5bmST2OpoltoauuFXWdfMjzZSirHmGSOxN76Z3RvasyvxnG1d7jp3D/c85GJ3Eu0VGOE/WD75b2WoNkJZC7sMLjExTZkKOKeyclX0Ec4bHlY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779460505; c=relaxed/simple; bh=rbEzG2QH3FRIeCZgOWnD0XdQHQBha+223d8Pn4OWdCk=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=aXpjf/nyp1VAeVEYJ2JenePmPG++G+1ntE9bVvPDqWYRKudl9/CEVD9XQZqUq3gB+MLcGLm1feoXc5n44429UUEhTuE5291yggV2ahFQL+2ive9CQb0sd+4Rgxn8sgOwHi9c7xNQYpI/u5U4kc88RcjAvYLfaSOb4QFP7GIcvEU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XmmgyYBb; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XmmgyYBb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD0D91F0155F; Fri, 22 May 2026 14:35:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779460502; bh=yLwzrRHVNC7sOHFhR2t1r6cVUt0IxH3X7J2ZXqbU/e8=; h=Date:From:To:Cc:Subject:References; b=XmmgyYBb47Ve6b6lvIkV3mEecdMAj8vAlhadBXhed4B7LkkdrbSxPH+w4vCVzW5TX oFbFhit166N5apQJaVVo7LAHCsoXU3GoOGXsTde602YrRdtxZixIbD9AOeAXW0xgGN cRLWNQqbiMwJlqRhu6fwY+QZmWwSgJpd1sxRYoRdg+HyxqeAnLs8FP0/a4vZi3RnNI v7fvOdgLrC0rk2cyWpo8fD6qQ69FBCNsr9MxTnDkuh3BuuMunIL/bMXxoD3HoSQ8+Q dyt1eit/iXW9d8sAWR8DbMQtmqTjR2VeYbZWWGiEQcL+ZUwG5ti22zwN+Wvm1hzYZw LcRGzBSn+n58Q== Received: from rostedt by gandalf with local (Exim 4.99.2) (envelope-from ) id 1wQQyE-000000066A7-27Aw; Fri, 22 May 2026 10:35:26 -0400 Message-ID: <20260522143526.368163811@kernel.org> User-Agent: quilt/0.69 Date: Fri, 22 May 2026 10:35:17 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Srinivas Pandruvada , Jiri Kosina , Benjamin Tissoires , Peter Zijlstra , "Vineeth Pillai (Google)" Subject: [for-next][PATCH 09/15] HID: Use trace_call__##name() at guarded tracepoint call sites References: <20260522143508.298439732@kernel.org> 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=UTF-8 From: Vineeth Pillai 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. Original v2 series: https://lore.kernel.org/linux-trace-kernel/20260323160052.17528-1-vineeth@bitbyteword.org/ Parts of the original v2 series have already been merged in mainline. This patch is being reposted as a follow-up cleanup for the remaining unmerged pieces. Cc: Srinivas Pandruvada Cc: Jiri Kosina Cc: Benjamin Tissoires Link: https://patch.msgid.link/20260515135941.2238861-1-vineeth@bitbyteword.org Suggested-by: Steven Rostedt Suggested-by: Peter Zijlstra Signed-off-by: Vineeth Pillai (Google) Assisted-by: Claude:claude-sonnet-4-6 Signed-off-by: Steven Rostedt --- 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 ed3405c05e73..8d36ae96a3ee 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_call__ishtp_dump(tmp_buf); } } -- 2.53.0