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
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, · 30 unmodified lines
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, · 100 unmodified lines
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