Skip to content

Commit fde33ca

Browse files
anna-marialxKAGA-KOKO
authored andcommitted
tracing/timer: Add missing argument documentation of trace points
Documentation of trace points timer_start, timer_expire_entry and hrtimer_start lack always the last argument. Add it to keep implementation and documentation in sync. Signed-off-by: Anna-Maria Behnsen <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Steven Rostedt (Google) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 8afbcaf commit fde33ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/trace/events/timer.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ DEFINE_EVENT(timer_class, timer_init,
4848
* timer_start - called when the timer is started
4949
* @timer: pointer to struct timer_list
5050
* @expires: the timers expiry time
51+
* @flags: the timers flags
5152
*/
5253
TRACE_EVENT(timer_start,
5354

@@ -84,6 +85,7 @@ TRACE_EVENT(timer_start,
8485
/**
8586
* timer_expire_entry - called immediately before the timer callback
8687
* @timer: pointer to struct timer_list
88+
* @baseclk: value of timer_base::clk when timer expires
8789
*
8890
* Allows to determine the timer latency.
8991
*/
@@ -190,7 +192,8 @@ TRACE_EVENT(hrtimer_init,
190192

191193
/**
192194
* hrtimer_start - called when the hrtimer is started
193-
* @hrtimer: pointer to struct hrtimer
195+
* @hrtimer: pointer to struct hrtimer
196+
* @mode: the hrtimers mode
194197
*/
195198
TRACE_EVENT(hrtimer_start,
196199

0 commit comments

Comments
 (0)