diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-03-09 15:47:18 -0400 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-10 00:35:04 -0400 |
commit | 2939b0469d04ba9ac791aca9a81625d7eb50662b (patch) | |
tree | 573f10c39f34c670fdc6832415642738c5afb3f9 /include/trace/workqueue.h | |
parent | 156b5f172a64103bcb13b6d26288388b9019caa3 (diff) |
tracing: replace TP<var> with TP_<var>
Impact: clean up
The macros TPPROTO, TPARGS, TPFMT, TPRAWFMT, and TPCMD all look a bit
ugly. This patch adds an underscore to their names.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'include/trace/workqueue.h')
-rw-r--r-- | include/trace/workqueue.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/trace/workqueue.h b/include/trace/workqueue.h index 867829df4571..7626523deeba 100644 --- a/include/trace/workqueue.h +++ b/include/trace/workqueue.h | |||
@@ -6,20 +6,20 @@ | |||
6 | #include <linux/sched.h> | 6 | #include <linux/sched.h> |
7 | 7 | ||
8 | DECLARE_TRACE(workqueue_insertion, | 8 | DECLARE_TRACE(workqueue_insertion, |
9 | TPPROTO(struct task_struct *wq_thread, struct work_struct *work), | 9 | TP_PROTO(struct task_struct *wq_thread, struct work_struct *work), |
10 | TPARGS(wq_thread, work)); | 10 | TP_ARGS(wq_thread, work)); |
11 | 11 | ||
12 | DECLARE_TRACE(workqueue_execution, | 12 | DECLARE_TRACE(workqueue_execution, |
13 | TPPROTO(struct task_struct *wq_thread, struct work_struct *work), | 13 | TP_PROTO(struct task_struct *wq_thread, struct work_struct *work), |
14 | TPARGS(wq_thread, work)); | 14 | TP_ARGS(wq_thread, work)); |
15 | 15 | ||
16 | /* Trace the creation of one workqueue thread on a cpu */ | 16 | /* Trace the creation of one workqueue thread on a cpu */ |
17 | DECLARE_TRACE(workqueue_creation, | 17 | DECLARE_TRACE(workqueue_creation, |
18 | TPPROTO(struct task_struct *wq_thread, int cpu), | 18 | TP_PROTO(struct task_struct *wq_thread, int cpu), |
19 | TPARGS(wq_thread, cpu)); | 19 | TP_ARGS(wq_thread, cpu)); |
20 | 20 | ||
21 | DECLARE_TRACE(workqueue_destruction, | 21 | DECLARE_TRACE(workqueue_destruction, |
22 | TPPROTO(struct task_struct *wq_thread), | 22 | TP_PROTO(struct task_struct *wq_thread), |
23 | TPARGS(wq_thread)); | 23 | TP_ARGS(wq_thread)); |
24 | 24 | ||
25 | #endif /* __TRACE_WORKQUEUE_H */ | 25 | #endif /* __TRACE_WORKQUEUE_H */ |