i2c: Deprecate client_register and client_unregister methods
[linux-2.6/verdex.git] / include / trace / workqueue.h
blob7626523deeba5f8611c70777878d500ada0d7cb3
1 #ifndef __TRACE_WORKQUEUE_H
2 #define __TRACE_WORKQUEUE_H
4 #include <linux/tracepoint.h>
5 #include <linux/workqueue.h>
6 #include <linux/sched.h>
8 DECLARE_TRACE(workqueue_insertion,
9 TP_PROTO(struct task_struct *wq_thread, struct work_struct *work),
10 TP_ARGS(wq_thread, work));
12 DECLARE_TRACE(workqueue_execution,
13 TP_PROTO(struct task_struct *wq_thread, struct work_struct *work),
14 TP_ARGS(wq_thread, work));
16 /* Trace the creation of one workqueue thread on a cpu */
17 DECLARE_TRACE(workqueue_creation,
18 TP_PROTO(struct task_struct *wq_thread, int cpu),
19 TP_ARGS(wq_thread, cpu));
21 DECLARE_TRACE(workqueue_destruction,
22 TP_PROTO(struct task_struct *wq_thread),
23 TP_ARGS(wq_thread));
25 #endif /* __TRACE_WORKQUEUE_H */