summaryrefslogtreecommitdiffstats
path: root/include/trace/events/module.h
diff options
context:
space:
mode:
authorScott Wood2015-03-12 04:13:57 +0100
committerSteven Rostedt2015-03-25 13:57:22 +0100
commitbbedb179944c29e5e449603163eec9951116fe39 (patch)
tree7ed8b4a90541e710200df3fc6a067c2dfb88f184 /include/trace/events/module.h
parentring-buffer: Replace this_cpu_*() with __this_cpu_*() (diff)
downloadkernel-qcow2-linux-bbedb179944c29e5e449603163eec9951116fe39.tar.gz
kernel-qcow2-linux-bbedb179944c29e5e449603163eec9951116fe39.tar.xz
kernel-qcow2-linux-bbedb179944c29e5e449603163eec9951116fe39.zip
tracing: %pF is only for function pointers
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Link: http://lkml.kernel.org/r/1426130037-17956-22-git-send-email-scottwood@freescale.com Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/events/module.h')
-rw-r--r--include/trace/events/module.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/events/module.h b/include/trace/events/module.h
index 81c4c183d348..28c45997e451 100644
--- a/include/trace/events/module.h
+++ b/include/trace/events/module.h
@@ -84,7 +84,7 @@ DECLARE_EVENT_CLASS(module_refcnt,
__assign_str(name, mod->name);
),
- TP_printk("%s call_site=%pf refcnt=%d",
+ TP_printk("%s call_site=%ps refcnt=%d",
__get_str(name), (void *)__entry->ip, __entry->refcnt)
);
@@ -121,7 +121,7 @@ TRACE_EVENT(module_request,
__assign_str(name, name);
),
- TP_printk("%s wait=%d call_site=%pf",
+ TP_printk("%s wait=%d call_site=%ps",
__get_str(name), (int)__entry->wait, (void *)__entry->ip)
);