---
name: "trace_workqueue_queue_work"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/trace_workqueue_queue_work"
---

# trace\_workqueue\_queue\_work(9)

called when a work gets queued

## NAME

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@redhat.com\>

Author.

**William Cohen** \<wcohen@redhat.com\>

Author.

## COPYRIGHT
