diff options
author | Daniel Jordan | 2020-01-13 17:52:40 -0500 |
---|---|---|
committer | Tejun Heo | 2020-01-15 08:02:59 -0800 |
commit | e8ab20d9bcb3e98b3e205396a56799b276951b64 (patch) | |
tree | fa85d3d21d0b09e22def68bc2de2eeee8b78772d /include/trace | |
parent | 1c5da0ec7f20dfb56030fb93f7f52f48e12deb52 (diff) |
workqueue: remove workqueue_work event class
The trace event class workqueue_work now has only one consumer, so get
rid of it. No functional change.
Signed-off-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/workqueue.h | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/include/trace/events/workqueue.h b/include/trace/events/workqueue.h index bdfc53e7f82f..9b8ae961acc5 100644 --- a/include/trace/events/workqueue.h +++ b/include/trace/events/workqueue.h @@ -8,23 +8,6 @@ #include <linux/tracepoint.h> #include <linux/workqueue.h> -DECLARE_EVENT_CLASS(workqueue_work, - - TP_PROTO(struct work_struct *work), - - TP_ARGS(work), - - TP_STRUCT__entry( - __field( void *, work ) - ), - - TP_fast_assign( - __entry->work = work; - ), - - TP_printk("work struct %p", __entry->work) -); - struct pool_workqueue; /** @@ -73,11 +56,21 @@ TRACE_EVENT(workqueue_queue_work, * which happens immediately after queueing unless @max_active limit * is reached. */ -DEFINE_EVENT(workqueue_work, workqueue_activate_work, +TRACE_EVENT(workqueue_activate_work, TP_PROTO(struct work_struct *work), - TP_ARGS(work) + TP_ARGS(work), + + TP_STRUCT__entry( + __field( void *, work ) + ), + + TP_fast_assign( + __entry->work = work; + ), + + TP_printk("work struct %p", __entry->work) ); /** |