itimers: Add tracepoints for itimer
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 10 Aug 2009 02:52:30 +0000 (10:52 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 29 Aug 2009 12:10:07 +0000 (14:10 +0200)
commit3f0a525ebf4b8ef041a332bbe4a73aee94bb064b
tree18c542b9896f8ac4b8d89db868ba46d38576228d
parentc6a2a1770245f654f35f60e1458d4356680f9519
itimers: Add tracepoints for itimer

Add tracepoints for all itimer variants: ITIMER_REAL, ITIMER_VIRTUAL
and ITIMER_PROF.

[ tglx: Fixed comments and made the output more readable, parseable
   and consistent. Replaced pid_vnr by pid_nr because the hrtimer
   callback can happen in any namespace ]

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: <4A7F8B6E.2010109@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/trace/events/timer.h
kernel/itimer.c
kernel/posix-cpu-timers.c