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 5CCC53FE653 for ; Thu, 26 Mar 2026 14:26:31 +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=mD+1izVgehd97RpttitUE8X12GvpPZfDjnRIM0837zblnIHoUPWe9/QuCWp5TH8Uizw8cHoVfLhMjmUKFpJflHKYyPLlPFTchN6QBOMSIyyeBFK05laHcvta3k2eQ0n+Xx2UVY4jFVFTaBtV0ib45dasdJ4sqJ9UAlMrhpyXDIs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774535191; c=relaxed/simple; bh=4eXygR8x57wvI/bE+wE8kElZatnu935aYK3c0nT/3mU=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=H0bwALvH+exfntJadGSFAgMqb1mMR6640RaYYBv6ZwQpTcpE3nJ6FX0xGdUqks/7KlVTzkWWND6Djs38+W/03IIzAl0f3kfJlI+wKbaKrHW7ifjd1G2td4WHqjWYxnrNg+1XT2imM3vH9wH+VbaWy0jFpKJQ9IQ2qheHEe9I0i4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FXnVXUWS; 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="FXnVXUWS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2199FC19423; Thu, 26 Mar 2026 14:26:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774535191; bh=4eXygR8x57wvI/bE+wE8kElZatnu935aYK3c0nT/3mU=; h=Date:From:To:Cc:Subject:References:From; b=FXnVXUWSkUDoFtNRPnC/ungreGpSPZJg2mRR4DGA+Ds4wsFovRTAyabCdZ3yMED/u +ErHpzZqIm69eUmeWyWk+/tDHys3TuKTNb5pjugLcX3ryg64yIy0o1xxFi0/sV8hdX T6+BT7wDagP2NhAfI+t2EFYKfnkVEkpdB7vsPNJxNLbDDQzG15AnMNwpVrskwwYa+J i7oDuuuLYQTsasCtvBxhOxG8VhkEelf4XqiU/5NfuML4Nvatwbdif3hPRdFbMnXVNM HX6YDhIyUyDhKZuwJPm6coK4Qt5wMQ20+GNXddV1lHqzGyHmo9hzHAIikRU0nEtlyW 3pPoZlOHSko5A== Received: from rostedt by gandalf with local (Exim 4.99.1) (envelope-from ) id 1w5lg5-0000000DuFQ-3yZl; Thu, 26 Mar 2026 10:27:17 -0400 Message-ID: <20260326142717.825025945@kernel.org> User-Agent: quilt/0.69 Date: Thu, 26 Mar 2026 10:27:08 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Peter Zijlstra , "Vineeth Pillai (Google)" , SeongJae Park Subject: [for-next][PATCH 12/13] mm: damon: 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_damos_stat_after_apply_interval() with trace_call__damos_stat_after_apply_interval() at a site already guarded by an early return when !trace_damos_stat_after_apply_interval_enabled(), avoiding a redundant static_branch_unlikely() re-evaluation inside the tracepoint. Cc: Andrew Morton Link: https://patch.msgid.link/20260323160052.17528-19-vineeth@bitbyteword.= org Suggested-by: Steven Rostedt Suggested-by: Peter Zijlstra Signed-off-by: Vineeth Pillai (Google) Reviewed-by: SeongJae Park Signed-off-by: Steven Rostedt (Google) --- mm/damon/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/damon/core.c b/mm/damon/core.c index c1d1091d307e..6ed6ad240ed9 100644 --- a/mm/damon/core.c +++ b/mm/damon/core.c @@ -2347,7 +2347,7 @@ static void damos_trace_stat(struct damon_ctx *c, str= uct damos *s) break; sidx++; } - trace_damos_stat_after_apply_interval(cidx, sidx, &s->stat); + trace_call__damos_stat_after_apply_interval(cidx, sidx, &s->stat); } =20 static void kdamond_apply_schemes(struct damon_ctx *c) --=20 2.51.0