tracing/workqueue: Use %pf in workqueue trace events
authorAnton Blanchard <[email protected]>
Tue, 22 Sep 2009 02:40:33 +0000 (12:40 +1000)
committerFrederic Weisbecker <[email protected]>
Tue, 22 Sep 2009 21:14:58 +0000 (23:14 +0200)
Using %pf instead of %pF supresses printing of the function offset
which will always be 0 in the case of worklet functions.

Signed-off-by: Anton Blanchard <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: Zhaolei <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Steven Rostedt <[email protected]>
LKML-Reference: <20090922024033.GB31801@kryten>
Signed-off-by: Frederic Weisbecker <[email protected]>
include/trace/events/workqueue.h

index fcfd9a1e4b9640a7c4d3e26c44f2aac38e3b6810..e4612dbd7ba6070d3d2a28e8a7f4359524cbe77c 100644 (file)
@@ -26,7 +26,7 @@ TRACE_EVENT(workqueue_insertion,
                __entry->func           = work->func;
        ),
 
-       TP_printk("thread=%s:%d func=%pF", __entry->thread_comm,
+       TP_printk("thread=%s:%d func=%pf", __entry->thread_comm,
                __entry->thread_pid, __entry->func)
 );
 
@@ -48,7 +48,7 @@ TRACE_EVENT(workqueue_execution,
                __entry->func           = work->func;
        ),
 
-       TP_printk("thread=%s:%d func=%pF", __entry->thread_comm,
+       TP_printk("thread=%s:%d func=%pf", __entry->thread_comm,
                __entry->thread_pid, __entry->func)
 );