diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-11 23:49:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-11 23:49:09 -0500 |
commit | 3070f27d6ecb69364e7cffe16c8b15e1b8ef41dd (patch) | |
tree | 6a624eb764265b67b2765b978c749fbe08871886 /include/trace | |
parent | 1e57c2186fc204ecd5e47f279d00eba3c3db245c (diff) | |
parent | e9c0748b687aa70179a9e6d8ffc24b2874fe350b (diff) |
Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
itimer: Fix the itimer trace print format
hrtimer: move timer stats helper functions to hrtimer.c
hrtimer: Tune hrtimer_interrupt hang logic
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/timer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/trace/events/timer.h b/include/trace/events/timer.h index e5ce87a0498d..9496b965d62a 100644 --- a/include/trace/events/timer.h +++ b/include/trace/events/timer.h | |||
@@ -301,8 +301,8 @@ TRACE_EVENT(itimer_state, | |||
301 | __entry->interval_usec = value->it_interval.tv_usec; | 301 | __entry->interval_usec = value->it_interval.tv_usec; |
302 | ), | 302 | ), |
303 | 303 | ||
304 | TP_printk("which=%d expires=%lu it_value=%lu.%lu it_interval=%lu.%lu", | 304 | TP_printk("which=%d expires=%llu it_value=%ld.%ld it_interval=%ld.%ld", |
305 | __entry->which, __entry->expires, | 305 | __entry->which, (unsigned long long)__entry->expires, |
306 | __entry->value_sec, __entry->value_usec, | 306 | __entry->value_sec, __entry->value_usec, |
307 | __entry->interval_sec, __entry->interval_usec) | 307 | __entry->interval_sec, __entry->interval_usec) |
308 | ); | 308 | ); |
@@ -331,8 +331,8 @@ TRACE_EVENT(itimer_expire, | |||
331 | __entry->pid = pid_nr(pid); | 331 | __entry->pid = pid_nr(pid); |
332 | ), | 332 | ), |
333 | 333 | ||
334 | TP_printk("which=%d pid=%d now=%lu", __entry->which, | 334 | TP_printk("which=%d pid=%d now=%llu", __entry->which, |
335 | (int) __entry->pid, __entry->now) | 335 | (int) __entry->pid, (unsigned long long)__entry->now) |
336 | ); | 336 | ); |
337 | 337 | ||
338 | #endif /* _TRACE_TIMER_H */ | 338 | #endif /* _TRACE_TIMER_H */ |