diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-12-18 23:32:29 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-12-19 23:02:00 +0100 |
commit | 7af8150f9935634e3e0f47c14e049ff401c82fb4 (patch) | |
tree | 32cf6aaca1822b209e856433169c14a824b60da3 /fs/xfs | |
parent | xfs: Fix x32 ioctls when cmd numbers differ from ia32. (diff) | |
download | linux-7af8150f9935634e3e0f47c14e049ff401c82fb4.tar.xz linux-7af8150f9935634e3e0f47c14e049ff401c82fb4.zip |
xfs: fix function pointer type in ftrace format
Use %pS instead of %pF in ftrace strings so that we record the actual
function address instead of the function descriptor.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/scrub/trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/trace.h b/fs/xfs/scrub/trace.h index 4e20f0e48232..76b5c334d9eb 100644 --- a/fs/xfs/scrub/trace.h +++ b/fs/xfs/scrub/trace.h @@ -473,7 +473,7 @@ TRACE_EVENT(xchk_xref_error, __entry->error = error; __entry->ret_ip = ret_ip; ), - TP_printk("dev %d:%d type %u xref error %d ret_ip %pF", + TP_printk("dev %d:%d type %u xref error %d ret_ip %pS", MAJOR(__entry->dev), MINOR(__entry->dev), __entry->type, __entry->error, |