Skip to content

Commit 1cdae04

Browse files
cwahbongrostedt
authored andcommitted
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]>
1 parent 60cc43f commit 1cdae04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/trace/events/workqueue.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ DECLARE_EVENT_CLASS(workqueue_work,
2525
TP_printk("work struct %p", __entry->work)
2626
);
2727

28+
struct pool_workqueue;
29+
2830
/**
2931
* workqueue_queue_work - called when a work gets queued
3032
* @req_cpu: the requested cpu

0 commit comments

Comments
 (0)