* [PATCH 1/2] tracing: Fix a comment and a trivial format issue in tracepoint.h
2009-09-22 22:18 [GIT PULL] tracing fixes for -tip Frederic Weisbecker
@ 2009-09-22 22:18 ` Frederic Weisbecker
2009-09-22 22:18 ` [PATCH 2/2] tracing/workqueue: Use %pf in workqueue trace events Frederic Weisbecker
2009-09-23 9:03 ` [GIT PULL] tracing fixes for -tip Ingo Molnar
2 siblings, 0 replies; 4+ messages in thread
From: Frederic Weisbecker @ 2009-09-22 22:18 UTC (permalink / raw)
To: Ingo Molnar
Cc: LKML, Li Hong, Li Zefan, Steven Rostedt, Ingo Molnar,
Frederic Weisbecker
From: Li Hong <lihong.hi@gmail.com>
Fix the tracepoint documentation path in tracepoints headers and
a misaligned tabulation.
Signed-off-by: Li Hong <lihong.hi@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
LKML-Reference: <3a3680030909220300h7cf18849q4d4702b9d4feaa67@mail.gmail.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
---
include/linux/tracepoint.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index 63a3f7a..2aac8a8 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -4,7 +4,7 @@
/*
* Kernel Tracepoint API.
*
- * See Documentation/tracepoint.txt.
+ * See Documentation/trace/tracepoints.txt.
*
* (C) Copyright 2008 Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
*
@@ -36,7 +36,7 @@ struct tracepoint {
#ifndef DECLARE_TRACE
#define TP_PROTO(args...) args
-#define TP_ARGS(args...) args
+#define TP_ARGS(args...) args
#ifdef CONFIG_TRACEPOINTS
--
1.6.2.3
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 2/2] tracing/workqueue: Use %pf in workqueue trace events
2009-09-22 22:18 [GIT PULL] tracing fixes for -tip Frederic Weisbecker
2009-09-22 22:18 ` [PATCH 1/2] tracing: Fix a comment and a trivial format issue in tracepoint.h Frederic Weisbecker
@ 2009-09-22 22:18 ` Frederic Weisbecker
2009-09-23 9:03 ` [GIT PULL] tracing fixes for -tip Ingo Molnar
2 siblings, 0 replies; 4+ messages in thread
From: Frederic Weisbecker @ 2009-09-22 22:18 UTC (permalink / raw)
To: Ingo Molnar
Cc: LKML, Anton Blanchard, KOSAKI Motohiro, Li Zefan, Zhaolei,
Lai Jiangshan, Ingo Molnar, Steven Rostedt, Frederic Weisbecker
From: Anton Blanchard <anton@samba.org>
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 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/trace/events/workqueue.h b/include/trace/events/workqueue.h
index fcfd9a1..e4612db 100644
--- 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=%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)
);
--
1.6.2.3
^ permalink raw reply [flat|nested] 4+ messages in thread