linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Btrfs: show real function name in btrfs workqueue tracepoint
@ 2014-08-15 15:38 Liu Bo
  2014-08-20 14:26 ` David Sterba
  0 siblings, 1 reply; 2+ messages in thread
From: Liu Bo @ 2014-08-15 15:38 UTC (permalink / raw)
  To: linux-btrfs

Use %pf instead of %p, just same as kernel workqueue tracepoints.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
---
 include/trace/events/btrfs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/trace/events/btrfs.h b/include/trace/events/btrfs.h
index e26c541..6c1f897 100644
--- a/include/trace/events/btrfs.h
+++ b/include/trace/events/btrfs.h
@@ -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)
-- 
1.8.1.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Btrfs: show real function name in btrfs workqueue tracepoint
  2014-08-15 15:38 [PATCH] Btrfs: show real function name in btrfs workqueue tracepoint Liu Bo
@ 2014-08-20 14:26 ` David Sterba
  0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2014-08-20 14:26 UTC (permalink / raw)
  To: Liu Bo; +Cc: linux-btrfs

On Fri, Aug 15, 2014 at 11:38:06PM +0800, Liu Bo wrote:
> 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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-20 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15 15:38 [PATCH] Btrfs: show real function name in btrfs workqueue tracepoint Liu Bo
2014-08-20 14:26 ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).