blob: a57e4ee989d6229476471c5527a44b230014926c [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Xiao Guangrong2b022e32009-08-10 10:48:59 +08002#undef TRACE_SYSTEM
3#define TRACE_SYSTEM timer
4
5#if !defined(_TRACE_TIMER_H) || defined(TRACE_HEADER_MULTI_READ)
6#define _TRACE_TIMER_H
7
8#include <linux/tracepoint.h>
Xiao Guangrongc6a2a172009-08-10 10:51:23 +08009#include <linux/hrtimer.h>
Xiao Guangrong2b022e32009-08-10 10:48:59 +080010#include <linux/timer.h>
11
Li Zefan363d0f62010-05-24 16:23:15 +080012DECLARE_EVENT_CLASS(timer_class,
Xiao Guangrong2b022e32009-08-10 10:48:59 +080013
14 TP_PROTO(struct timer_list *timer),
15
16 TP_ARGS(timer),
17
18 TP_STRUCT__entry(
19 __field( void *, timer )
20 ),
21
22 TP_fast_assign(
23 __entry->timer = timer;
24 ),
25
Ingo Molnar434a83c2009-10-15 11:50:39 +020026 TP_printk("timer=%p", __entry->timer)
Xiao Guangrong2b022e32009-08-10 10:48:59 +080027);
28
29/**
Li Zefan363d0f62010-05-24 16:23:15 +080030 * timer_init - called when the timer is initialized
31 * @timer: pointer to struct timer_list
32 */
33DEFINE_EVENT(timer_class, timer_init,
34
35 TP_PROTO(struct timer_list *timer),
36
37 TP_ARGS(timer)
38);
39
Thomas Gleixner8a58a342017-02-10 16:41:15 +010040#define decode_timer_flags(flags) \
41 __print_flags(flags, "|", \
42 { TIMER_MIGRATING, "M" }, \
43 { TIMER_DEFERRABLE, "D" }, \
44 { TIMER_PINNED, "P" }, \
45 { TIMER_IRQSAFE, "I" })
46
Li Zefan363d0f62010-05-24 16:23:15 +080047/**
Xiao Guangrong2b022e32009-08-10 10:48:59 +080048 * timer_start - called when the timer is started
49 * @timer: pointer to struct timer_list
50 * @expires: the timers expiry time
51 */
52TRACE_EVENT(timer_start,
53
Badhri Jagan Sridharan4e413e82015-05-07 16:20:34 -070054 TP_PROTO(struct timer_list *timer,
55 unsigned long expires,
Thomas Gleixner0eeda712015-05-26 22:50:29 +000056 unsigned int flags),
Xiao Guangrong2b022e32009-08-10 10:48:59 +080057
Thomas Gleixner0eeda712015-05-26 22:50:29 +000058 TP_ARGS(timer, expires, flags),
Xiao Guangrong2b022e32009-08-10 10:48:59 +080059
60 TP_STRUCT__entry(
61 __field( void *, timer )
62 __field( void *, function )
63 __field( unsigned long, expires )
64 __field( unsigned long, now )
Thomas Gleixner0eeda712015-05-26 22:50:29 +000065 __field( unsigned int, flags )
Xiao Guangrong2b022e32009-08-10 10:48:59 +080066 ),
67
68 TP_fast_assign(
69 __entry->timer = timer;
70 __entry->function = timer->function;
71 __entry->expires = expires;
72 __entry->now = jiffies;
Thomas Gleixner0eeda712015-05-26 22:50:29 +000073 __entry->flags = flags;
Xiao Guangrong2b022e32009-08-10 10:48:59 +080074 ),
75
Thomas Gleixner8a58a342017-02-10 16:41:15 +010076 TP_printk("timer=%p function=%pf expires=%lu [timeout=%ld] cpu=%u idx=%u flags=%s",
Xiao Guangrong2b022e32009-08-10 10:48:59 +080077 __entry->timer, __entry->function, __entry->expires,
Thomas Gleixner8a58a342017-02-10 16:41:15 +010078 (long)__entry->expires - __entry->now,
79 __entry->flags & TIMER_CPUMASK,
80 __entry->flags >> TIMER_ARRAYSHIFT,
81 decode_timer_flags(__entry->flags & TIMER_TRACE_FLAGMASK))
Xiao Guangrong2b022e32009-08-10 10:48:59 +080082);
83
84/**
85 * timer_expire_entry - called immediately before the timer callback
86 * @timer: pointer to struct timer_list
87 *
88 * Allows to determine the timer latency.
89 */
90TRACE_EVENT(timer_expire_entry,
91
92 TP_PROTO(struct timer_list *timer),
93
94 TP_ARGS(timer),
95
96 TP_STRUCT__entry(
97 __field( void *, timer )
98 __field( unsigned long, now )
Arjan van de Venede1b422010-08-18 15:33:13 -070099 __field( void *, function)
Xiao Guangrong2b022e32009-08-10 10:48:59 +0800100 ),
101
102 TP_fast_assign(
103 __entry->timer = timer;
104 __entry->now = jiffies;
Arjan van de Venede1b422010-08-18 15:33:13 -0700105 __entry->function = timer->function;
Xiao Guangrong2b022e32009-08-10 10:48:59 +0800106 ),
107
Arjan van de Venede1b422010-08-18 15:33:13 -0700108 TP_printk("timer=%p function=%pf now=%lu", __entry->timer, __entry->function,__entry->now)
Xiao Guangrong2b022e32009-08-10 10:48:59 +0800109);
110
111/**
112 * timer_expire_exit - called immediately after the timer callback returns
113 * @timer: pointer to struct timer_list
114 *
115 * When used in combination with the timer_expire_entry tracepoint we can
116 * determine the runtime of the timer callback function.
117 *
118 * NOTE: Do NOT derefernce timer in TP_fast_assign. The pointer might
119 * be invalid. We solely track the pointer.
120 */
Li Zefan363d0f62010-05-24 16:23:15 +0800121DEFINE_EVENT(timer_class, timer_expire_exit,
Xiao Guangrong2b022e32009-08-10 10:48:59 +0800122
123 TP_PROTO(struct timer_list *timer),
124
Li Zefan363d0f62010-05-24 16:23:15 +0800125 TP_ARGS(timer)
Xiao Guangrong2b022e32009-08-10 10:48:59 +0800126);
127
128/**
129 * timer_cancel - called when the timer is canceled
130 * @timer: pointer to struct timer_list
131 */
Li Zefan363d0f62010-05-24 16:23:15 +0800132DEFINE_EVENT(timer_class, timer_cancel,
Xiao Guangrong2b022e32009-08-10 10:48:59 +0800133
134 TP_PROTO(struct timer_list *timer),
135
Li Zefan363d0f62010-05-24 16:23:15 +0800136 TP_ARGS(timer)
Xiao Guangrong2b022e32009-08-10 10:48:59 +0800137);
138
Anna-Maria Gleixner91633ee2017-12-21 11:41:37 +0100139#define decode_clockid(type) \
140 __print_symbolic(type, \
141 { CLOCK_REALTIME, "CLOCK_REALTIME" }, \
142 { CLOCK_MONOTONIC, "CLOCK_MONOTONIC" }, \
143 { CLOCK_BOOTTIME, "CLOCK_BOOTTIME" }, \
144 { CLOCK_TAI, "CLOCK_TAI" })
145
146#define decode_hrtimer_mode(mode) \
147 __print_symbolic(mode, \
148 { HRTIMER_MODE_ABS, "ABS" }, \
149 { HRTIMER_MODE_REL, "REL" }, \
150 { HRTIMER_MODE_ABS_PINNED, "ABS|PINNED" }, \
Anna-Maria Gleixner98ecadd2017-12-21 11:41:55 +0100151 { HRTIMER_MODE_REL_PINNED, "REL|PINNED" }, \
152 { HRTIMER_MODE_ABS_SOFT, "ABS|SOFT" }, \
153 { HRTIMER_MODE_REL_SOFT, "REL|SOFT" }, \
154 { HRTIMER_MODE_ABS_PINNED_SOFT, "ABS|PINNED|SOFT" }, \
155 { HRTIMER_MODE_REL_PINNED_SOFT, "REL|PINNED|SOFT" })
Anna-Maria Gleixner91633ee2017-12-21 11:41:37 +0100156
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800157/**
158 * hrtimer_init - called when the hrtimer is initialized
Masanari Iidacf2fbdd2013-03-16 20:53:05 +0900159 * @hrtimer: pointer to struct hrtimer
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800160 * @clockid: the hrtimers clock
161 * @mode: the hrtimers mode
162 */
163TRACE_EVENT(hrtimer_init,
164
Ingo Molnar434a83c2009-10-15 11:50:39 +0200165 TP_PROTO(struct hrtimer *hrtimer, clockid_t clockid,
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800166 enum hrtimer_mode mode),
167
Ingo Molnar434a83c2009-10-15 11:50:39 +0200168 TP_ARGS(hrtimer, clockid, mode),
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800169
170 TP_STRUCT__entry(
Ingo Molnar434a83c2009-10-15 11:50:39 +0200171 __field( void *, hrtimer )
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800172 __field( clockid_t, clockid )
173 __field( enum hrtimer_mode, mode )
174 ),
175
176 TP_fast_assign(
Ingo Molnar434a83c2009-10-15 11:50:39 +0200177 __entry->hrtimer = hrtimer;
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800178 __entry->clockid = clockid;
179 __entry->mode = mode;
180 ),
181
Ingo Molnar434a83c2009-10-15 11:50:39 +0200182 TP_printk("hrtimer=%p clockid=%s mode=%s", __entry->hrtimer,
Anna-Maria Gleixner91633ee2017-12-21 11:41:37 +0100183 decode_clockid(__entry->clockid),
184 decode_hrtimer_mode(__entry->mode))
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800185);
186
187/**
188 * hrtimer_start - called when the hrtimer is started
Masanari Iidacf2fbdd2013-03-16 20:53:05 +0900189 * @hrtimer: pointer to struct hrtimer
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800190 */
191TRACE_EVENT(hrtimer_start,
192
Anna-Maria Gleixner63e2ed32017-12-21 11:41:38 +0100193 TP_PROTO(struct hrtimer *hrtimer, enum hrtimer_mode mode),
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800194
Anna-Maria Gleixner63e2ed32017-12-21 11:41:38 +0100195 TP_ARGS(hrtimer, mode),
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800196
197 TP_STRUCT__entry(
Ingo Molnar434a83c2009-10-15 11:50:39 +0200198 __field( void *, hrtimer )
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800199 __field( void *, function )
200 __field( s64, expires )
201 __field( s64, softexpires )
Anna-Maria Gleixner63e2ed32017-12-21 11:41:38 +0100202 __field( enum hrtimer_mode, mode )
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800203 ),
204
205 TP_fast_assign(
Ingo Molnar434a83c2009-10-15 11:50:39 +0200206 __entry->hrtimer = hrtimer;
207 __entry->function = hrtimer->function;
Thomas Gleixner2456e852016-12-25 11:38:40 +0100208 __entry->expires = hrtimer_get_expires(hrtimer);
209 __entry->softexpires = hrtimer_get_softexpires(hrtimer);
Anna-Maria Gleixner63e2ed32017-12-21 11:41:38 +0100210 __entry->mode = mode;
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800211 ),
212
Anna-Maria Gleixner63e2ed32017-12-21 11:41:38 +0100213 TP_printk("hrtimer=%p function=%pf expires=%llu softexpires=%llu "
214 "mode=%s", __entry->hrtimer, __entry->function,
Thomas Gleixner2456e852016-12-25 11:38:40 +0100215 (unsigned long long) __entry->expires,
Anna-Maria Gleixner63e2ed32017-12-21 11:41:38 +0100216 (unsigned long long) __entry->softexpires,
217 decode_hrtimer_mode(__entry->mode))
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800218);
219
220/**
Masanari Iidacf2fbdd2013-03-16 20:53:05 +0900221 * hrtimer_expire_entry - called immediately before the hrtimer callback
222 * @hrtimer: pointer to struct hrtimer
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800223 * @now: pointer to variable which contains current time of the
224 * timers base.
225 *
226 * Allows to determine the timer latency.
227 */
228TRACE_EVENT(hrtimer_expire_entry,
229
Ingo Molnar434a83c2009-10-15 11:50:39 +0200230 TP_PROTO(struct hrtimer *hrtimer, ktime_t *now),
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800231
Ingo Molnar434a83c2009-10-15 11:50:39 +0200232 TP_ARGS(hrtimer, now),
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800233
234 TP_STRUCT__entry(
Ingo Molnar434a83c2009-10-15 11:50:39 +0200235 __field( void *, hrtimer )
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800236 __field( s64, now )
Arjan van de Venede1b422010-08-18 15:33:13 -0700237 __field( void *, function)
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800238 ),
239
240 TP_fast_assign(
Ingo Molnar434a83c2009-10-15 11:50:39 +0200241 __entry->hrtimer = hrtimer;
Thomas Gleixner2456e852016-12-25 11:38:40 +0100242 __entry->now = *now;
Arjan van de Venede1b422010-08-18 15:33:13 -0700243 __entry->function = hrtimer->function;
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800244 ),
245
Arjan van de Venede1b422010-08-18 15:33:13 -0700246 TP_printk("hrtimer=%p function=%pf now=%llu", __entry->hrtimer, __entry->function,
Thomas Gleixner2456e852016-12-25 11:38:40 +0100247 (unsigned long long) __entry->now)
248);
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800249
Li Zefan363d0f62010-05-24 16:23:15 +0800250DECLARE_EVENT_CLASS(hrtimer_class,
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800251
Ingo Molnar434a83c2009-10-15 11:50:39 +0200252 TP_PROTO(struct hrtimer *hrtimer),
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800253
Ingo Molnar434a83c2009-10-15 11:50:39 +0200254 TP_ARGS(hrtimer),
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800255
256 TP_STRUCT__entry(
Ingo Molnar434a83c2009-10-15 11:50:39 +0200257 __field( void *, hrtimer )
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800258 ),
259
260 TP_fast_assign(
Ingo Molnar434a83c2009-10-15 11:50:39 +0200261 __entry->hrtimer = hrtimer;
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800262 ),
263
Ingo Molnar434a83c2009-10-15 11:50:39 +0200264 TP_printk("hrtimer=%p", __entry->hrtimer)
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800265);
266
267/**
Li Zefan363d0f62010-05-24 16:23:15 +0800268 * hrtimer_expire_exit - called immediately after the hrtimer callback returns
Masanari Iidacf2fbdd2013-03-16 20:53:05 +0900269 * @hrtimer: pointer to struct hrtimer
Li Zefan363d0f62010-05-24 16:23:15 +0800270 *
271 * When used in combination with the hrtimer_expire_entry tracepoint we can
272 * determine the runtime of the callback function.
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800273 */
Li Zefan363d0f62010-05-24 16:23:15 +0800274DEFINE_EVENT(hrtimer_class, hrtimer_expire_exit,
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800275
Ingo Molnar434a83c2009-10-15 11:50:39 +0200276 TP_PROTO(struct hrtimer *hrtimer),
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800277
Li Zefan363d0f62010-05-24 16:23:15 +0800278 TP_ARGS(hrtimer)
279);
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800280
Li Zefan363d0f62010-05-24 16:23:15 +0800281/**
282 * hrtimer_cancel - called when the hrtimer is canceled
283 * @hrtimer: pointer to struct hrtimer
284 */
285DEFINE_EVENT(hrtimer_class, hrtimer_cancel,
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800286
Li Zefan363d0f62010-05-24 16:23:15 +0800287 TP_PROTO(struct hrtimer *hrtimer),
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800288
Li Zefan363d0f62010-05-24 16:23:15 +0800289 TP_ARGS(hrtimer)
Xiao Guangrongc6a2a172009-08-10 10:51:23 +0800290);
291
Xiao Guangrong3f0a5252009-08-10 10:52:30 +0800292/**
293 * itimer_state - called when itimer is started or canceled
294 * @which: name of the interval timer
295 * @value: the itimers value, itimer is canceled if value->it_value is
296 * zero, otherwise it is started
297 * @expires: the itimers expiry time
298 */
299TRACE_EVENT(itimer_state,
300
301 TP_PROTO(int which, const struct itimerval *const value,
Frederic Weisbecker858cf3a2017-01-31 04:09:35 +0100302 unsigned long long expires),
Xiao Guangrong3f0a5252009-08-10 10:52:30 +0800303
304 TP_ARGS(which, value, expires),
305
306 TP_STRUCT__entry(
Frederic Weisbecker858cf3a2017-01-31 04:09:35 +0100307 __field( int, which )
308 __field( unsigned long long, expires )
309 __field( long, value_sec )
310 __field( long, value_usec )
311 __field( long, interval_sec )
312 __field( long, interval_usec )
Xiao Guangrong3f0a5252009-08-10 10:52:30 +0800313 ),
314
315 TP_fast_assign(
316 __entry->which = which;
317 __entry->expires = expires;
318 __entry->value_sec = value->it_value.tv_sec;
319 __entry->value_usec = value->it_value.tv_usec;
320 __entry->interval_sec = value->it_interval.tv_sec;
321 __entry->interval_usec = value->it_interval.tv_usec;
322 ),
323
Thomas Gleixnere9c07482009-12-10 13:23:19 +0100324 TP_printk("which=%d expires=%llu it_value=%ld.%ld it_interval=%ld.%ld",
Frederic Weisbecker858cf3a2017-01-31 04:09:35 +0100325 __entry->which, __entry->expires,
Xiao Guangrong3f0a5252009-08-10 10:52:30 +0800326 __entry->value_sec, __entry->value_usec,
327 __entry->interval_sec, __entry->interval_usec)
328);
329
330/**
331 * itimer_expire - called when itimer expires
332 * @which: type of the interval timer
333 * @pid: pid of the process which owns the timer
334 * @now: current time, used to calculate the latency of itimer
335 */
336TRACE_EVENT(itimer_expire,
337
Frederic Weisbecker858cf3a2017-01-31 04:09:35 +0100338 TP_PROTO(int which, struct pid *pid, unsigned long long now),
Xiao Guangrong3f0a5252009-08-10 10:52:30 +0800339
340 TP_ARGS(which, pid, now),
341
342 TP_STRUCT__entry(
Frederic Weisbecker858cf3a2017-01-31 04:09:35 +0100343 __field( int , which )
344 __field( pid_t, pid )
345 __field( unsigned long long, now )
Xiao Guangrong3f0a5252009-08-10 10:52:30 +0800346 ),
347
348 TP_fast_assign(
349 __entry->which = which;
350 __entry->now = now;
351 __entry->pid = pid_nr(pid);
352 ),
353
Thomas Gleixnere9c07482009-12-10 13:23:19 +0100354 TP_printk("which=%d pid=%d now=%llu", __entry->which,
Frederic Weisbecker858cf3a2017-01-31 04:09:35 +0100355 (int) __entry->pid, __entry->now)
Xiao Guangrong3f0a5252009-08-10 10:52:30 +0800356);
357
Frederic Weisbecker2c82d1be2013-04-20 17:35:50 +0200358#ifdef CONFIG_NO_HZ_COMMON
Frederic Weisbeckere6e6cc22015-12-11 03:27:25 +0100359
360#define TICK_DEP_NAMES \
Steven Rostedt (Red Hat)c87edb32016-08-05 12:41:52 -0400361 tick_dep_mask_name(NONE) \
Frederic Weisbeckere6e6cc22015-12-11 03:27:25 +0100362 tick_dep_name(POSIX_TIMER) \
363 tick_dep_name(PERF_EVENTS) \
364 tick_dep_name(SCHED) \
365 tick_dep_name_end(CLOCK_UNSTABLE)
366
367#undef tick_dep_name
Steven Rostedt (Red Hat)c87edb32016-08-05 12:41:52 -0400368#undef tick_dep_mask_name
Frederic Weisbeckere6e6cc22015-12-11 03:27:25 +0100369#undef tick_dep_name_end
370
Steven Rostedt (Red Hat)c87edb32016-08-05 12:41:52 -0400371/* The MASK will convert to their bits and they need to be processed too */
372#define tick_dep_name(sdep) TRACE_DEFINE_ENUM(TICK_DEP_BIT_##sdep); \
373 TRACE_DEFINE_ENUM(TICK_DEP_MASK_##sdep);
374#define tick_dep_name_end(sdep) TRACE_DEFINE_ENUM(TICK_DEP_BIT_##sdep); \
375 TRACE_DEFINE_ENUM(TICK_DEP_MASK_##sdep);
376/* NONE only has a mask defined for it */
377#define tick_dep_mask_name(sdep) TRACE_DEFINE_ENUM(TICK_DEP_MASK_##sdep);
Frederic Weisbeckere6e6cc22015-12-11 03:27:25 +0100378
379TICK_DEP_NAMES
380
381#undef tick_dep_name
Steven Rostedt (Red Hat)c87edb32016-08-05 12:41:52 -0400382#undef tick_dep_mask_name
Frederic Weisbeckere6e6cc22015-12-11 03:27:25 +0100383#undef tick_dep_name_end
384
385#define tick_dep_name(sdep) { TICK_DEP_MASK_##sdep, #sdep },
Steven Rostedt (Red Hat)c87edb32016-08-05 12:41:52 -0400386#define tick_dep_mask_name(sdep) { TICK_DEP_MASK_##sdep, #sdep },
Frederic Weisbeckere6e6cc22015-12-11 03:27:25 +0100387#define tick_dep_name_end(sdep) { TICK_DEP_MASK_##sdep, #sdep }
388
389#define show_tick_dep_name(val) \
390 __print_symbolic(val, TICK_DEP_NAMES)
391
Frederic Weisbeckercb41a292013-04-20 17:35:50 +0200392TRACE_EVENT(tick_stop,
393
Frederic Weisbeckere6e6cc22015-12-11 03:27:25 +0100394 TP_PROTO(int success, int dependency),
Frederic Weisbeckercb41a292013-04-20 17:35:50 +0200395
Frederic Weisbeckere6e6cc22015-12-11 03:27:25 +0100396 TP_ARGS(success, dependency),
Frederic Weisbeckercb41a292013-04-20 17:35:50 +0200397
398 TP_STRUCT__entry(
399 __field( int , success )
Frederic Weisbeckere6e6cc22015-12-11 03:27:25 +0100400 __field( int , dependency )
Frederic Weisbeckercb41a292013-04-20 17:35:50 +0200401 ),
402
403 TP_fast_assign(
404 __entry->success = success;
Frederic Weisbeckere6e6cc22015-12-11 03:27:25 +0100405 __entry->dependency = dependency;
Frederic Weisbeckercb41a292013-04-20 17:35:50 +0200406 ),
407
Frederic Weisbeckere6e6cc22015-12-11 03:27:25 +0100408 TP_printk("success=%d dependency=%s", __entry->success, \
409 show_tick_dep_name(__entry->dependency))
Frederic Weisbeckercb41a292013-04-20 17:35:50 +0200410);
411#endif
412
Xiao Guangrong2b022e32009-08-10 10:48:59 +0800413#endif /* _TRACE_TIMER_H */
414
415/* This part must be outside protection */
416#include <trace/define_trace.h>