SysTutorials

Linux Manual Pages › Section 9

trace_workqueue_queue_work(9)

trace_workqueue_queue_work – called when a work gets queued

Synopsis

void trace_workqueue_queue_work(unsigned int req_cpu, struct pool_workqueue *pwq, struct work_struct *work);

Arguments

req_cpu

the requested cpu

pwq

pointer to struct pool_workqueue

work

pointer to struct work_struct

Description

This event occurs when a work is queued immediately or once a delayed work is actually queued on a workqueue (ie: once the delay has been reached).

Authors

Jason Baron <jbaron [at] redhat.com>

Author.

William Cohen <wcohen [at] redhat.com>

Author.

Copyright