workqueue: add queue_work and activate_work trace points
authorTejun Heo <tj@kernel.org>
Tue, 5 Oct 2010 08:49:55 +0000 (10:49 +0200)
committerTejun Heo <tj@kernel.org>
Tue, 5 Oct 2010 08:49:55 +0000 (10:49 +0200)
commitcdadf0097cdca06c497ffaeb5982e028c6e4ed38
treee02400ea54981e9621a30d3a2ce013e14f657e2e
parent97bd234701b2b39a0e749c1fe0e44f1d14c94292
workqueue: add queue_work and activate_work trace points

These two tracepoints allow tracking when and how a work is queued and
activated.  This patch is based on Frederic's patch to add queue_work
trace point.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
include/trace/events/workqueue.h
kernel/workqueue.c