Btrfs: show real function name in btrfs workqueue tracepoint
authorLiu Bo <bo.li.liu@oracle.com>
Fri, 15 Aug 2014 15:38:06 +0000 (23:38 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:18 +0000 (13:38 -0700)
Use %pf instead of %p, just same as kernel workqueue tracepoints.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
include/trace/events/btrfs.h

index 64a90d78e6bb619500a750628aaf619e59c566b4..e022a60699dfc918d2a46075f3eddb7f5940e0ab 100644 (file)
@@ -1009,7 +1009,7 @@ DECLARE_EVENT_CLASS(btrfs__work,
                __entry->normal_work    = &work->normal_work;
        ),
 
-       TP_printk("work=%p (normal_work=%p), wq=%p, func=%p, ordered_func=%p,"
+       TP_printk("work=%p (normal_work=%p), wq=%p, func=%pf, ordered_func=%p,"
                  " ordered_free=%p",
                  __entry->work, __entry->normal_work, __entry->wq,
                   __entry->func, __entry->ordered_func, __entry->ordered_free)