ftrace: Output REC->var instead of __entry->var for trace format
authorZhaolei <zhaolei@cn.fujitsu.com>
Wed, 8 Apr 2009 09:00:13 +0000 (17:00 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Apr 2009 13:48:53 +0000 (15:48 +0200)
commit0462b5664b2bda5a18fef7efb5bb32ce36590c1a
tree99a67a1af4e275d6654b6c2dd4bc00d2d70406ba
parent8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4
ftrace: Output REC->var instead of __entry->var for trace format

print fmt: "irq=%d return=%s", __entry->irq, __entry->ret ? \"handled\" : \"unhandled\"

"__entry" should be convert to "REC" by __stringify() macro.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <49DC679D.2090901@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_events_stage_2.h