2 #define TRACE_SYSTEM timer
4 #if !defined(_TRACE_TIMER_H) || defined(TRACE_HEADER_MULTI_READ)
8 #include <linux/hrtimer.h>
53 __field(
unsigned long, expires )
64 TP_printk(
"timer=%p function=%pf expires=%lu [timeout=%ld]",
135 TP_ARGS(hrtimer, clockid, mode),
151 "CLOCK_REALTIME" :
"CLOCK_MONOTONIC",
153 "HRTIMER_MODE_ABS" :
"HRTIMER_MODE_REL")
176 __entry->expires = hrtimer_get_expires(hrtimer).tv64;
177 __entry->softexpires = hrtimer_get_softexpires(hrtimer).tv64;
180 TP_printk(
"hrtimer=%p function=%pf expires=%llu softexpires=%llu",
182 (
unsigned long long)ktime_to_ns((
ktime_t) {
184 (
unsigned long long)ktime_to_ns((
ktime_t) {
185 .tv64 =
__entry->softexpires }))
215 (
unsigned long long)ktime_to_ns((
ktime_t) { .tv64 =
__entry->now }))
272 TP_ARGS(which, value, expires),
292 TP_printk(
"which=%d expires=%llu it_value=%ld.%ld it_interval=%ld.%ld",