• X
    hrtimer: Add tracepoint for hrtimers · c6a2a177
    Xiao Guangrong 提交于
    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: NXiao 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: NThomas Gleixner <tglx@linutronix.de>
    c6a2a177
hrtimer.c 44.2 KB