timers: Add tracepoints for timer_list timers
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 10 Aug 2009 02:48:59 +0000 (10:48 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 29 Aug 2009 12:10:06 +0000 (14:10 +0200)
commit2b022e3d4bf9885f781221c59d86283a2cdfc2ed
tree49bcc100381924b149567bc0dd8bcdc91f95ea9f
parentf71bb0ac5e85410601b0db29d7b1635345ea61a4
timers: Add tracepoints for timer_list timers

Add tracepoints which cover the timer life cycle. The tracepoints are
integrated with the already existing debug_object debug points as far
as possible.

Based on patches from
Mathieu: http://marc.info/?l=linux-kernel&m=123791201816247&w=2
and
Anton: http://marc.info/?l=linux-kernel&m=124331396919301&w=2

[ tglx: Fixed timeout value in timer_start tracepoint, massaged
  comments and made the printk's more readable ]

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Cc: Anton Blanchard <anton@samba.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Zhaolei <zhaolei@cn.fujitsu.com>
LKML-Reference: <4A7F8A9B.3040201@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/trace/events/timer.h [new file with mode: 0644]
kernel/timer.c