From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.173 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794665480; b=SbxceeFixmRK3s+zmPLVspARuE/yJcZNdnRBkqAs4Rj2copLJoiDYdY7GuOt0ugqv+8+ +3uhMI28PWWJhbJtfcq3b6LWw/AaAaXFxhkYfht7h6wkK7ueF05ATEuQ1zcjNhbl+LVQ7 xDYqj63SpViownzzeBCbhT4lIcHCmAmznb1kvrcjs+O/6YfR2rPR6g3Vxo5MA3WPUwWxx AsWwlYVlw5IP2fw8HZqUVViOL7j7ALRBQXQxjwLitCTC2f4QiYUtXTop24yhg5j/VSNRV JBw8iyuC6SfPxZwXIgc8AKgzYp/P305DuP2Hr3im0YlzSUkI6aGQHLyPtfjB5LyZb6A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794665480; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:Content-Language:To: Cc:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=X1aNKxDcC9Su/sKRcb+fwZwTfaJYdtOu8vWxOSG4H9Q=; b=LFCfmNgf30SsMpwZrCfY0pAq564+3Lzm0yLC+1uT2XGssq5gxS2yk56f2RA0z2jm/sdl WdgJIKz7nQJhbVwG/seJaMnVYif3dDt15wu69VmHCS8A7fk91KtxDqAjG1O0sWFV6xvhM OHwV6N5R4r8Ay7F4IvLnaZEXqU02TWbvwfIhEnACFLtN8oMW7rdeZZQsOGV0GeFZmdmRt oWA5RQZJE0UJZhQ7DawmXJK6JRjR6AbEN4dMiv8hJtNr/7uxBZDSDHDIw0xqHK0H49wnf ZYBJ9dLs2EnAwcnYc1KdUUaYtuvSmUgAMpFZ/wHf65OqBLEOebtbPAwxZWCcnRtNAAQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=VIuTSlCz; arc=none smtp.remote-ip=209.85.210.173 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4D1B606A335 for ; Sat, 14 Nov 2026 14:11:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D4D1B606A335 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=VIuTSlCz Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-8b58d6f67a5so974019b3a.2 for ; Sat, 14 Nov 2026 06:11:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794665479; x=1795270279; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=X1aNKxDcC9Su/sKRcb+fwZwTfaJYdtOu8vWxOSG4H9Q=; b=VIuTSlCzI5+jZy6lhUJ3NdFy8QfvKvOumfxqXf/KsHSm7q7qnrtm0TQKMxcAu58t9e lgjYrX7X+fgOz0yW7XFscKcImqrdxA74UWS9CrBbqZFuQT5Xjd5qBFmUFrQGTROrNBmo j3HbrMQ9X6q0EiaKeeaJowpKByG3xCk7OAAinrnWahFvw3jTJfK6+Arw7kgFbveE7bcn cWEdrRwRmJsazex6ce+lvFzkV6lLEguXk6GoJ8/v93AWykNVZdy1xFS6PSwqBHVADnKn cowtQuqrBknj2KZWxJU5/xk+xdXxpzhtDkAlhXlKc/iEhax4HpKwerl5PO0Bnrx0eFp0 sXeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794665479; x=1795270279; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=X1aNKxDcC9Su/sKRcb+fwZwTfaJYdtOu8vWxOSG4H9Q=; b=r7ZyTpMq8e002KuJyjjW9/dEpAlMniLxzjJyutQ4RLarPeMkeB9DvcaLSXBU6wbwbB Xkhm6tK32/jB64sh/xVOf9o8wHimS3BS9QGlCXJX7g7tD38Kim26L4Sf+uo+X8MHf0yk GmLgr5dnAU/hvdkU18zX6nsdEs5Bh7YxnBpaZH+kW2GCssRxEuUpViaszFdsUzxRWI+7 esfYtCKiZG6ZZ+I5Hn4qYifkH7fn4fq213Nu8SU64SmwEAfcDLqPeiaV/yogaRvkGmV/ xMA4v3VRclLeqJDwBE0k6rMiFtWALUX8hHq0z+iq4b0zKnW3A7QllRjTTkh2AvF3iTkn aetw== X-Forwarded-Encrypted: i=1; AL+hErGvpGocUrwrw86h2ZlYNf93SweJTa9iY1dU+42Xhn38o77shWxJ9N2XFqs2OqBNJaX1unX4SXJMkBWd@vger.kernel.org X-Gm-Message-State: APuU4Z8hJ0XNcrvpENRN1x7sgEQt0TqbkozQe3WoWsdGF623JHoFLlWL 92IVtOTniU3HtCPvxQXBGYbXYY81nyXEbrzGAFij8X6BWS4kjVKDnVkK X-Gm-Gg: AYBFou2W/t9HkZR5iChNz+cHiHlEn9cPbphwdmtLbezN8p5cpoN9h8Od3ZcuPuDF5Em jVySuZ2Fmtf6BBASeEJpP2mgDu1eKMBTlmsFAoGdnSSnblDW+QmbJ68j9MaS4oZ5wtTCVR1H1IK VDjVi9UwwENMOhzyE2HyQ6GQMrFSwnUgI7m9MZXPIVqp6jJbeo3ewCxickUef1XrklkZfKT8Mvq R4SpBM3fbFRmcPoQ1trYc8zPKHlRZXidBUU+Di9aGS+9F23pMX0vablwzGLDOWocYQjL+dl2gir jrsc2UyWkqVzuC1GDQQqXMR03uNmXUwhYdp/BA98DXwHGkd41dnzudibUhtjGMGQL2+hcOFOKL0 YzymBrR34cCvwjyfuye8r6rGikYX6nXtRBUa4YxTlXQU/jqRvZzkxAxLuYKZtkeIp6ToM519CGD ZZm5xD9zRdlzKjsnHGM2Si9MDCE5AwLkEBUSdMjlj6Gj4lOuCD5SreK2RCt1V+FARL6ohzRMDQv PyXWS+gDVJ8B3+rG5mUt2hTPZYYYka+yH9YuN+f53jt+bHp5WesHINqRyBbFThcpwmnzTdkdNb9 CAQ2jH5kauH9sXUMOoZ6y5IREn7CIYnXQ4kDJeU9Eml2Od+PzUUw6ikQHUZx3S4m8QM= X-Received: by 2002:a05:6a21:118e:b0:3eb:b103:6ec0 with SMTP id adf61e73a8af0-3f7a72ba2e9mr5274932637.14.1794665479089; Sat, 14 Nov 2026 06:11:19 -0800 (PST) Received: from [192.168.35.40] ([218.50.238.131]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-cddc18b4e68sm2442814a12.25.2026.11.14.06.11.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 14 Nov 2026 06:11:17 -0800 (PST) Message-ID: <2d8dbfaf-46d3-4d05-b052-5e8a8670931e@gmail.com> Date: Sat, 14 Nov 2026 23:11:05 +0900 X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/9] devfreq: Use trace_call__##name() at guarded tracepoint call sites Content-Language: ko To: Steven Rostedt , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Vineeth Pillai , Peter Zijlstra , Aaron Conole , Alex Deucher , Alexei Starovoitov , Anna-Maria Behnsen , Borislav Petkov , Chanwoo Choi , =?UTF-8?Q?Christian_K=C3=B6nig?= , Daniel Borkmann , Danilo Krummrich , Dave Hansen , David Airlie , "David S. Miller" , Eelco Chaudron , Eric Dumazet , Frederic Weisbecker , Ilya Maximets , Ingo Molnar , Jakub Kicinski , "James E.J. Bottomley" , Jesper Dangaard Brouer , Jiri Pirko , John Fastabend , Jon Maloy , Koby Elbaz , Konstantin Sinyuk , Kyungmin Park , Maarten Lankhorst , Marcelo Ricardo Leitner , "Martin K. Petersen" , Matthew Brost , Maxime Ripard , MyungJoo Ham , Oded Gabbay , Paolo Abeni , Philipp Stanner , Simona Vetter , Sumit Semwal , Thomas Gleixner , Thomas Zimmermann , tipc-discussion@lists.sourceforge.net, Tung Quang Nguyen , Xin Long , x86@kernel.org, amd-gfx@lists.freedesktop.org, bpf@vger.kernel.org, dev@openvswitch.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linux-pm@vger.kernel.org, linux-scsi@vger.kernel.org, linux-sctp@vger.kernel.org, netdev@vger.kernel.org References: <20261027153658.703730257@kernel.org> <20261027154413.039021489@kernel.org> From: Choi Chanwoo In-Reply-To: <20261027154413.039021489@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/28/2026 12:37 AM, Steven Rostedt wrote: > 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. > > Link: https://patch.msgid.link/20260515135920.2238808-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/devfreq/devfreq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c > index 82dd9a43dc62..9f71d9dc4a70 100644 > --- a/drivers/devfreq/devfreq.c > +++ b/drivers/devfreq/devfreq.c > @@ -370,7 +370,7 @@ static int devfreq_set_target(struct devfreq *devfreq, unsigned long new_freq, > * change order of between devfreq device and passive devfreq device. > */ > if (trace_devfreq_frequency_enabled() && new_freq != cur_freq) > - trace_devfreq_frequency(devfreq, new_freq, cur_freq); > + trace_call__devfreq_frequency(devfreq, new_freq, cur_freq); > > freqs.new = new_freq; > devfreq_notify_transition(devfreq, &freqs, DEVFREQ_POSTCHANGE); Applied it. Thanks, Chanwoo Choi