diff options
author | Scott Wood <scottwood@freescale.com> | 2015-03-11 22:13:57 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-03-25 08:57:22 -0400 |
commit | bbedb179944c29e5e449603163eec9951116fe39 (patch) | |
tree | 7ed8b4a90541e710200df3fc6a067c2dfb88f184 /include/trace/events/btrfs.h | |
parent | 80a9b64e2c156b6523e7a01f2ba6e5d86e722814 (diff) | |
download | op-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.h | 4 |
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) ); |