projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cd09a5
)
tracing/workqueue: Use %pf in workqueue trace events
author
Anton Blanchard
<anton@samba.org>
Tue, 22 Sep 2009 02:40:33 +0000
(12:40 +1000)
committer
Frederic Weisbecker
<fweisbec@gmail.com>
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 <anton@samba.org>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Zhaolei <zhaolei@cn.fujitsu.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <
20090922024033
.GB31801@kryten>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
include/trace/events/workqueue.h
patch
|
blob
|
history
diff --git
a/include/trace/events/workqueue.h
b/include/trace/events/workqueue.h
index fcfd9a1e4b9640a7c4d3e26c44f2aac38e3b6810..e4612dbd7ba6070d3d2a28e8a7f4359524cbe77c 100644
(file)
--- a/
include/trace/events/workqueue.h
+++ b/
include/trace/events/workqueue.h
@@
-26,7
+26,7
@@
TRACE_EVENT(workqueue_insertion,
__entry->func = work->func;
),
- TP_printk("thread=%s:%d func=%p
F
", __entry->thread_comm,
+ TP_printk("thread=%s:%d func=%p
f
", __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=%p
F
", __entry->thread_comm,
+ TP_printk("thread=%s:%d func=%p
f
", __entry->thread_comm,
__entry->thread_pid, __entry->func)
);