Lines Matching refs:timer

2 #define TRACE_SYSTEM timer
9 #include <linux/timer.h>
13 TP_PROTO(struct timer_list *timer),
15 TP_ARGS(timer),
18 __field( void *, timer )
22 __entry->timer = timer;
25 TP_printk("timer=%p", __entry->timer)
29 * timer_init - called when the timer is initialized
30 * @timer: pointer to struct timer_list
34 TP_PROTO(struct timer_list *timer),
36 TP_ARGS(timer)
40 * timer_start - called when the timer is started
41 * @timer: pointer to struct timer_list
46 TP_PROTO(struct timer_list *timer, unsigned long expires),
48 TP_ARGS(timer, expires),
51 __field( void *, timer )
58 __entry->timer = timer;
59 __entry->function = timer->function;
64 TP_printk("timer=%p function=%pf expires=%lu [timeout=%ld]",
65 __entry->timer, __entry->function, __entry->expires,
70 * timer_expire_entry - called immediately before the timer callback
71 * @timer: pointer to struct timer_list
73 * Allows to determine the timer latency.
77 TP_PROTO(struct timer_list *timer),
79 TP_ARGS(timer),
82 __field( void *, timer )
88 __entry->timer = timer;
90 __entry->function = timer->function;
93 TP_printk("timer=%p function=%pf now=%lu", __entry->timer, __entry->function,__entry->now)
97 * timer_expire_exit - called immediately after the timer callback returns
98 * @timer: pointer to struct timer_list
101 * determine the runtime of the timer callback function.
103 * NOTE: Do NOT derefernce timer in TP_fast_assign. The pointer might
108 TP_PROTO(struct timer_list *timer),
110 TP_ARGS(timer)
114 * timer_cancel - called when the timer is canceled
115 * @timer: pointer to struct timer_list
119 TP_PROTO(struct timer_list *timer),
121 TP_ARGS(timer)
126 * @timer: pointer to struct hrtimer
158 * @timer: pointer to struct hrtimer
190 * @timer: pointer to struct hrtimer
194 * Allows to determine the timer latency.
237 * @timer: pointer to struct hrtimer
262 * @which: name of the interval timer
300 * @which: type of the interval timer
301 * @pid: pid of the process which owns the timer