Skip to content

hrtimer, timekeeping, tracing: various cleanups

Thomas Weißschuh (Schneider Electric) linux-trace-kernel lkml 1 version Applied

Status from this message: The following commit has been merged into the timers/core branch of tip:

Get series with b4
b4 am [email protected] change-id 20260311-hrtimer-cleanups-fd2deab892df

Versions newest first

  1. v1 Latest12 patches 0 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/12scripts/gdb: timerlist: Adapt to move of tk_corescripts/gdb/linux/timerlist.py+1 -10 replies
2/12tracing: Use explicit array size instead of sentinel elements in symbol printinginclude/linux/trace_events.h include/trace/stages/stage3_trace_output.h kernel/trace/trace_events_synth.c +2 more+43 -370 replies
3/12timer_list: Print offset as signed integerkernel/time/timer_list.c+2 -20 replies
4/12timekeeping: auxclock: Consistently use raw timekeeper for tk_setup_internals()kernel/time/timekeeping.c+1 -10 replies
5/12timekeeping: Mark offsets array as constkernel/time/timekeeping.c+6 -40 replies
6/12hrtimer: Remove hrtimer_get_expires_ns()include/linux/hrtimer.h+0 -50 replies
7/12hrtimer: Don't zero-initialize ret in hrtimer_nanosleep()kernel/time/hrtimer.c+1 -10 replies
8/12hrtimer: Drop spurious space in 'enum hrtimer_base_type'include/linux/hrtimer_defs.h+1 -10 replies
9/12hrtimer: Drop unnecessary pointer indirection in hrtimer_expire_entry eventinclude/trace/events/timer.h kernel/time/hrtimer.c+5 -60 replies
10/12hrtimer: Mark index and clockid of clock base as constinclude/linux/hrtimer_defs.h+2 -20 replies
11/12hrtimer: Remove trailing comma after HRTIMER_MAX_CLOCK_BASESinclude/linux/hrtimer_defs.h+1 -10 replies
12/12hrtimer: Add a helper to retrieve a hrtimer from its timerqueue nodekernel/time/hrtimer.c+5 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] hrtimer, timekeeping, tracing: various cleanups

Various, mostly trivial, cleanups and fixes to the timekeeping core and hrtimer subsystems. These are preparations for another upcoming series, so I'd like this to go together trough tip.

Tracing maintainers: Patch 2 touches the tracing core.

Based on tip/sched/hrtick.

---
Thomas Weißschuh (Schneider Electric) (12):
scripts/gdb: timerlist: Adapt to move of tk_core
tracing: Use explicit array size instead of sentinel elements in symbol printing
timer_list: Print offset as signed integer
timekeeping: auxclock: Consistently use raw timekeeper for tk_setup_internals()
timekeeping: Mark offsets array as const
hrtimer: Remove hrtimer_get_expires_ns()
hrtimer: Don't zero-initialize ret in hrtimer_nanosleep()
hrtimer: Drop spurious space in 'enum hrtimer_base_type'
hrtimer: Drop unnecessary pointer indirection in hrtimer_expire_entry event
hrtimer: Mark index and clockid of clock base as const
hrtimer: Remove trailing comma after HRTIMER_MAX_CLOCK_BASES
hrtimer: Add a helper to retrieve a hrtimer from its timerqueue node

 include/linux/hrtimer.h                    |  5 ----
 include/linux/hrtimer_defs.h               |  8 +++---
 include/linux/trace_events.h               | 13 ++++++----
 include/trace/events/timer.h               |  7 +++---
 include/trace/stages/stage3_trace_output.h | 40 +++++++++++++++---------------
 kernel/time/hrtimer.c                      | 14 ++++++-----
 kernel/time/timekeeping.c                  | 12 +++++----
 kernel/time/timer_list.c                   |  4 +--
 kernel/trace/trace_events_synth.c          |  4 +--
 kernel/trace/trace_output.c                | 20 +++++++++------
 kernel/trace/trace_syscalls.c              |  3 +--
 scripts/gdb/linux/timerlist.py             |  2 +-
 12 files changed, 68 insertions(+), 64 deletions(-)

---
base-commit: eef9f648fb0e92618041f019d4bdcf7ae17cb743
change-id: 20260311-hrtimer-cleanups-fd2deab892df

Best regards,

Signature · 1 line
Thomas Weißschuh <[email protected]>