From: Steven Rostedt Date: Wed, 10 Jun 2009 18:28:34 +0000 (-0400) Subject: tracing: do not translate event helper macros in print format X-Git-Tag: v2.6.31-rc1~401^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ff9a64d2aaa6eae396adc95e9c91c0cbfa6dbe4;p=pandora-kernel.git tracing: do not translate event helper macros in print format By moving the macro that creates the print format code above the defining of the event macro helpers (__get_str, __print_symbolic, and __get_dynamic_array), we get a little cleaner print format. Instead of: (char *)((void *)REC + REC->__data_loc_name) we get: __get_str(name) Instead of: ({ static const struct trace_print_flags symbols[] = { { HI_SOFTIRQ, "HI" }, { we get: __print_symbolic(REC->vec, { HI_SOFTIRQ, "HI" }, { Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed