aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhbong Chang <[email protected]>2018-04-16 10:36:25 +0800
committerSteven Rostedt (VMware) <[email protected]>2018-04-19 11:05:48 -0400
commit1cdae042fc63dd987f39ffb3258e54fdac8b9852 (patch)
treecd4aaa353eed951c1d81b1584016f8db7018c990
parent60cc43fc888428bb2f18f08997432d426a243338 (diff)
tracing: Add missing forward declaration
Without this forward declaration compile may fail if this header is included only for registering other probe event without struct pool_workqueue. Link: http://lkml.kernel.org/r/[email protected] Reviewed-by: Todd Poynor <[email protected]> Signed-off-by: Ahbong Chang <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
-rw-r--r--include/trace/events/workqueue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/trace/events/workqueue.h b/include/trace/events/workqueue.h
index 2f057a494d93..9a761bc6a251 100644
--- a/include/trace/events/workqueue.h
+++ b/include/trace/events/workqueue.h
@@ -25,6 +25,8 @@ DECLARE_EVENT_CLASS(workqueue_work,
TP_printk("work struct %p", __entry->work)
);
+struct pool_workqueue;
+
/**
* workqueue_queue_work - called when a work gets queued
* @req_cpu: the requested cpu