hrtimer: Add tracepoint for hrtimers
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 10 Aug 2009 02:51:23 +0000 (10:51 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 29 Aug 2009 12:10:06 +0000 (14:10 +0200)
commitc6a2a1770245f654f35f60e1458d4356680f9519
tree0a015269ca839ac2fe91b3d86955997bf7b8686d
parent2b022e3d4bf9885f781221c59d86283a2cdfc2ed
hrtimer: Add tracepoint for hrtimers

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

[ tglx: Fixed comments, made output conistent, easier to read and
   parse. Fixed output for 32bit archs which do not use the
   scalar representation of ktime_t. Hand current time to
   trace_hrtimer_expiry_entry instead of calling get_time()
   inside of the trace assignment. ]

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