summaryrefslogtreecommitdiffstats
path: root/include/trace/events/btrfs.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2015-03-11 22:13:57 -0500
committerSteven Rostedt <rostedt@goodmis.org>2015-03-25 08:57:22 -0400
commitbbedb179944c29e5e449603163eec9951116fe39 (patch)
tree7ed8b4a90541e710200df3fc6a067c2dfb88f184 /include/trace/events/btrfs.h
parent80a9b64e2c156b6523e7a01f2ba6e5d86e722814 (diff)
downloadop-kernel-dev-bbedb179944c29e5e449603163eec9951116fe39.zip
op-kernel-dev-bbedb179944c29e5e449603163eec9951116fe39.tar.gz
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/btrfs.h')
-rw-r--r--include/trace/events/btrfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/events/btrfs.h b/include/trace/events/btrfs.h
index 1faecea..572e650 100644
--- a/include/trace/events/btrfs.h
+++ b/include/trace/events/btrfs.h
@@ -962,7 +962,7 @@ TRACE_EVENT(alloc_extent_state,
__entry->ip = IP
),
- TP_printk("state=%p; mask = %s; caller = %pF", __entry->state,
+ TP_printk("state=%p; mask = %s; caller = %pS", __entry->state,
show_gfp_flags(__entry->mask), (void *)__entry->ip)
);
@@ -982,7 +982,7 @@ TRACE_EVENT(free_extent_state,
__entry->ip = IP
),
- TP_printk(" state=%p; caller = %pF", __entry->state,
+ TP_printk(" state=%p; caller = %pS", __entry->state,
(void *)__entry->ip)
);
OpenPOWER on IntegriCloud