aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2014-08-15 11:38:06 -0400
committerChris Mason <clm@fb.com>2014-09-17 16:38:18 -0400
commitb7831b20f32019b741eb8fe3435c2516e13e0c4a (patch)
tree39e58ed60447f136352ab69964d86e68c8067911 /include/trace
parent2a39e5980257c77f48b5c31f9fb483a72a03b213 (diff)
Btrfs: show real function name in btrfs workqueue tracepoint
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>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/btrfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/btrfs.h b/include/trace/events/btrfs.h
index 64a90d78e6bb..e022a60699df 100644
--- a/include/trace/events/btrfs.h
+++ b/include/trace/events/btrfs.h
@@ -1009,7 +1009,7 @@ DECLARE_EVENT_CLASS(btrfs__work,
1009 __entry->normal_work = &work->normal_work; 1009 __entry->normal_work = &work->normal_work;
1010 ), 1010 ),
1011 1011
1012 TP_printk("work=%p (normal_work=%p), wq=%p, func=%p, ordered_func=%p," 1012 TP_printk("work=%p (normal_work=%p), wq=%p, func=%pf, ordered_func=%p,"
1013 " ordered_free=%p", 1013 " ordered_free=%p",
1014 __entry->work, __entry->normal_work, __entry->wq, 1014 __entry->work, __entry->normal_work, __entry->wq,
1015 __entry->func, __entry->ordered_func, __entry->ordered_free) 1015 __entry->func, __entry->ordered_func, __entry->ordered_free)