You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Steven Rostedt
parent
80a9b64e2c
commit
bbedb17994
@@ -223,7 +223,7 @@ FTRACE_ENTRY(bprint, bprint_entry,
|
||||
__dynamic_array( u32, buf )
|
||||
),
|
||||
|
||||
F_printk("%pf: %s",
|
||||
F_printk("%ps: %s",
|
||||
(void *)__entry->ip, __entry->fmt),
|
||||
|
||||
FILTER_OTHER
|
||||
@@ -238,7 +238,7 @@ FTRACE_ENTRY(print, print_entry,
|
||||
__dynamic_array( char, buf )
|
||||
),
|
||||
|
||||
F_printk("%pf: %s",
|
||||
F_printk("%ps: %s",
|
||||
(void *)__entry->ip, __entry->buf),
|
||||
|
||||
FILTER_OTHER
|
||||
@@ -253,7 +253,7 @@ FTRACE_ENTRY(bputs, bputs_entry,
|
||||
__field( const char *, str )
|
||||
),
|
||||
|
||||
F_printk("%pf: %s",
|
||||
F_printk("%ps: %s",
|
||||
(void *)__entry->ip, __entry->str),
|
||||
|
||||
FILTER_OTHER
|
||||
|
||||
Reference in New Issue
Block a user