History

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.

Anna-Maria Behnsen committed 4 years ago

Commit fde33ca1 parent 8afbcaf1 file · +4 −1Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/trace/events/timer.h+4−1
@@ -48,6 +48,7 @@ DEFINE_EVENT(timer_class, timer_init, · 47 unmodified lines
48 * timer_start - called when the timer is started48 * timer_start - called when the timer is started
49 * @timer: pointer to struct timer_list49 * @timer: pointer to struct timer_list
50 * @expires: the timers expiry time50 * @expires: the timers expiry time
51 * @flags: the timers flags
51 */52 */
52TRACE_EVENT(timer_start,53TRACE_EVENT(timer_start,
53 54
@@ -84,6 +85,7 @@ TRACE_EVENT(timer_start, · 30 unmodified lines
84/**85/**
85 * timer_expire_entry - called immediately before the timer callback86 * timer_expire_entry - called immediately before the timer callback
86 * @timer: pointer to struct timer_list87 * @timer: pointer to struct timer_list
88 * @baseclk: value of timer_base::clk when timer expires
87 *89 *
88 * Allows to determine the timer latency.90 * Allows to determine the timer latency.
89 */91 */
@@ -190,7 +192,8 @@ TRACE_EVENT(hrtimer_init, · 100 unmodified lines
190 192
191/**193/**
192 * hrtimer_start - called when the hrtimer is started194 * hrtimer_start - called when the hrtimer is started
193 * @hrtimer: pointer to struct hrtimer195 * @hrtimer: pointer to struct hrtimer
196 * @mode: the hrtimers mode
194 */197 */
195TRACE_EVENT(hrtimer_start,198TRACE_EVENT(hrtimer_start,
196 199