diff options
author | Wolfgang Mauerer <wolfgang.mauerer@siemens.com> | 2012-03-22 11:18:20 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-03-22 17:19:23 +0100 |
commit | 01de982abf8c9e10fc3089e10585cd2cc914bdab (patch) | |
tree | 09819515fa130cf8fad5b17367bbd6f9e787e4a5 /kernel/trace/trace_export.c | |
parent | Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
download | linux-01de982abf8c9e10fc3089e10585cd2cc914bdab.tar.xz linux-01de982abf8c9e10fc3089e10585cd2cc914bdab.zip |
tracing: Fix ftrace stack trace entries
8 hex characters tell only half the tale for 64 bit CPUs,
so use the appropriate length.
Link: http://lkml.kernel.org/r/1332411501-8059-2-git-send-email-wolfgang.mauerer@siemens.com
Cc: stable@vger.kernel.org
Signed-off-by: Wolfgang Mauerer <wolfgang.mauerer@siemens.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_export.c')
-rw-r--r-- | kernel/trace/trace_export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_export.c b/kernel/trace/trace_export.c index bbeec31e0ae3..ad4000c71be0 100644 --- a/kernel/trace/trace_export.c +++ b/kernel/trace/trace_export.c @@ -150,7 +150,7 @@ ftrace_define_fields_##name(struct ftrace_event_call *event_call) \ #define __dynamic_array(type, item) #undef F_printk -#define F_printk(fmt, args...) #fmt ", " __stringify(args) +#define F_printk(fmt, args...) __stringify(fmt) ", " __stringify(args) #undef FTRACE_ENTRY #define FTRACE_ENTRY(call, struct_name, etype, tstruct, print) \ |