From nobody Sun Feb 8 19:59:11 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 5E4781F3D5D; Fri, 4 Apr 2025 14:36:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743777376; cv=none; b=iHAfZ6lZn7CGJRFjwHUHLNhSo8Ru2n+MHmA1mrlVtYyL3sMy7JOZvDla3I4Aw7TtprvLBZ5d7V8MheKtVep9ESh0fso31s4r9X7IjMw3Stpxjz4f0SL/u//5yzf0Qmcp3nhwN2Z2L+FjTrO0hzXBXYPHxUyaDkCU9UCTEe4uN/4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743777376; c=relaxed/simple; bh=8A0Fxvcot1OA549/g2e6ZNmiJAvk+r7zdrP9drqC8a4=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=f/T2sPpKbIxF//SIX7+2kj7GChOaNdKiu8IPDjhd92OWJ36kmLTGMA+I3G7NLLG9kPPJit/nXiTzDUZTTcgg4Uo2sRegDy9oKyDeN7FRRRafIQMe52ERUsSPw6V+yKk+SzFwpZFFV+e46ERQ/vvEXBARq8gnwwgxMnNtzNyWWVo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=DOFdKCDF; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=VMZvhTB8; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="DOFdKCDF"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="VMZvhTB8" Date: Fri, 04 Apr 2025 14:36:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1743777372; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+55ELmVJ+aEH6pN/tGmxXmb0g/o6o4saRBfuldUguVU=; b=DOFdKCDFajpt6Ees/kwG1YEUqX7I305Ga6F3bH2UhS+Bgx8xl7yL1lO1dcHPWqkVmJ3PG3 8xblWWzhJc2eptLeU/uXHCkZOkhMj24zai0L/w4gu4j6GndnPN+dEI16FolWOyzo7a2KaO C4ZVW8sn6CYvKdRXbTn2mV4TDOPWV8lYWh9kkvPnh0FXP6IE9xGM3Mp7bvPAlMeeFcZx8n S/zmzcwsDn0VB9FkZv4J8HUXJImWQlLiLUmN2TqeQUfx97fuZEMw6w5+yi3qzqw/YIi4UB 4PhiFnybOzBpdKR2QqbHLkPKqz/2G3nqOHBsWD26/lgCDy+PPg8r3OozGQ/qnQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1743777372; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+55ELmVJ+aEH6pN/tGmxXmb0g/o6o4saRBfuldUguVU=; b=VMZvhTB8zmDC9GXAIVt/wV0zf/lyNu2G6J47r4TiyBabvXNGIsfR3dBNoO/Y+svdHQtIxl umKn197EgqCTS7Bg== From: "tip-bot2 for Nam Cao" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/cleanups] tracing/timers: Rename hrtimer_init event to hrtimer_setup Cc: Nam Cao , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3Ccba84c3d853c5258aa3a262363a6eac08e2c7afc=2E17387?= =?utf-8?q?46927=2Egit=2Enamcao=40linutronix=2Ede=3E?= References: =?utf-8?q?=3Ccba84c3d853c5258aa3a262363a6eac08e2c7afc=2E173874?= =?utf-8?q?6927=2Egit=2Enamcao=40linutronix=2Ede=3E?= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174377736325.31282.16979192466137573320.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/cleanups branch of tip: Commit-ID: 5c4da3a96bf484f965057c281f1ef48ac46987bc Gitweb: https://git.kernel.org/tip/5c4da3a96bf484f965057c281f1ef48ac= 46987bc Author: Nam Cao AuthorDate: Wed, 05 Feb 2025 11:55:21 +01:00 Committer: Thomas Gleixner CommitterDate: Fri, 04 Apr 2025 16:26:10 +02:00 tracing/timers: Rename hrtimer_init event to hrtimer_setup The function hrtimer_init() doesn't exist anymore. It was replaced by hrtimer_setup(). Thus, rename the hrtimer_init trace event to hrtimer_setup to keep it consistent. Signed-off-by: Nam Cao Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/all/cba84c3d853c5258aa3a262363a6eac08e2c7afc.= 1738746927.git.namcao@linutronix.de --- Documentation/trace/ftrace.rst | 4 ++-- include/trace/events/timer.h | 4 ++-- kernel/time/hrtimer.c | 4 ++-- tools/perf/tests/shell/trace_btf_enum.sh | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst index 2b74f96..c9e88bf 100644 --- a/Documentation/trace/ftrace.rst +++ b/Documentation/trace/ftrace.rst @@ -3077,7 +3077,7 @@ Notice that we lost the sys_nanosleep. # cat set_ftrace_filter hrtimer_run_queues hrtimer_run_pending - hrtimer_init + hrtimer_setup hrtimer_cancel hrtimer_try_to_cancel hrtimer_forward @@ -3115,7 +3115,7 @@ Again, now we want to append. # cat set_ftrace_filter hrtimer_run_queues hrtimer_run_pending - hrtimer_init + hrtimer_setup hrtimer_cancel hrtimer_try_to_cancel hrtimer_forward diff --git a/include/trace/events/timer.h b/include/trace/events/timer.h index f8c906b..1641ae3 100644 --- a/include/trace/events/timer.h +++ b/include/trace/events/timer.h @@ -185,12 +185,12 @@ TRACE_EVENT(timer_base_idle, { HRTIMER_MODE_REL_PINNED_HARD, "REL|PINNED|HARD" }) =20 /** - * hrtimer_init - called when the hrtimer is initialized + * hrtimer_setup - called when the hrtimer is initialized * @hrtimer: pointer to struct hrtimer * @clockid: the hrtimers clock * @mode: the hrtimers mode */ -TRACE_EVENT(hrtimer_init, +TRACE_EVENT(hrtimer_setup, =20 TP_PROTO(struct hrtimer *hrtimer, clockid_t clockid, enum hrtimer_mode mode), diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index 4bf91fa..517ee25 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c @@ -468,14 +468,14 @@ static inline void debug_hrtimer_deactivate(struct hr= timer *timer) { } static inline void debug_setup(struct hrtimer *timer, clockid_t clockid, e= num hrtimer_mode mode) { debug_hrtimer_init(timer); - trace_hrtimer_init(timer, clockid, mode); + trace_hrtimer_setup(timer, clockid, mode); } =20 static inline void debug_setup_on_stack(struct hrtimer *timer, clockid_t c= lockid, enum hrtimer_mode mode) { debug_hrtimer_init_on_stack(timer); - trace_hrtimer_init(timer, clockid, mode); + trace_hrtimer_setup(timer, clockid, mode); } =20 static inline void debug_activate(struct hrtimer *timer, diff --git a/tools/perf/tests/shell/trace_btf_enum.sh b/tools/perf/tests/sh= ell/trace_btf_enum.sh index 60b3fa2..f0b49f7 100755 --- a/tools/perf/tests/shell/trace_btf_enum.sh +++ b/tools/perf/tests/shell/trace_btf_enum.sh @@ -6,7 +6,7 @@ err=3D0 set -e =20 syscall=3D"landlock_add_rule" -non_syscall=3D"timer:hrtimer_init,timer:hrtimer_start" +non_syscall=3D"timer:hrtimer_setup,timer:hrtimer_start" =20 TESTPROG=3D"perf test -w landlock"