xfs: fix function pointer type in ftrace format
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 18 Dec 2018 22:32:29 +0000 (14:32 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 19 Dec 2018 22:02:00 +0000 (14:02 -0800)
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>
fs/xfs/scrub/trace.h

index 4e20f0e4823217115bf15e650235f8494aa364e3..76b5c334d9eb2709ab2d6c3c0bcf166e63475072 100644 (file)
@@ -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,