diff options
Diffstat (limited to 'include/trace/events/workqueue.h')
| -rw-r--r-- | include/trace/events/workqueue.h | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/include/trace/events/workqueue.h b/include/trace/events/workqueue.h index 7d497291c85..bf0e18ba6cf 100644 --- a/include/trace/events/workqueue.h +++ b/include/trace/events/workqueue.h @@ -27,7 +27,7 @@ DECLARE_EVENT_CLASS(workqueue_work,  /**   * workqueue_queue_work - called when a work gets queued   * @req_cpu:	the requested cpu - * @cwq:	pointer to struct cpu_workqueue_struct + * @pwq:	pointer to struct pool_workqueue   * @work:	pointer to struct work_struct   *   * This event occurs when a work is queued immediately or once a @@ -36,10 +36,10 @@ DECLARE_EVENT_CLASS(workqueue_work,   */  TRACE_EVENT(workqueue_queue_work, -	TP_PROTO(unsigned int req_cpu, struct cpu_workqueue_struct *cwq, +	TP_PROTO(unsigned int req_cpu, struct pool_workqueue *pwq,  		 struct work_struct *work), -	TP_ARGS(req_cpu, cwq, work), +	TP_ARGS(req_cpu, pwq, work),  	TP_STRUCT__entry(  		__field( void *,	work	) @@ -52,9 +52,9 @@ TRACE_EVENT(workqueue_queue_work,  	TP_fast_assign(  		__entry->work		= work;  		__entry->function	= work->func; -		__entry->workqueue	= cwq->wq; +		__entry->workqueue	= pwq->wq;  		__entry->req_cpu	= req_cpu; -		__entry->cpu		= cwq->gcwq->cpu; +		__entry->cpu		= pwq->pool->cpu;  	),  	TP_printk("work struct=%p function=%pf workqueue=%p req_cpu=%u cpu=%u", @@ -103,7 +103,7 @@ TRACE_EVENT(workqueue_execute_start,  );  /** - * workqueue_execute_end - called immediately before the workqueue callback + * workqueue_execute_end - called immediately after the workqueue callback   * @work:	pointer to struct work_struct   *   * Allows to track workqueue execution.  | 
