Commit 1cdae042 authored by Ahbong Chang's avatar Ahbong Chang Committed by Steven Rostedt (VMware)
Browse files

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/20180416023626.139915-1-cwahbong@google.com



Reviewed-by: default avatarTodd Poynor <toddpoynor@google.com>
Signed-off-by: default avatarAhbong Chang <cwahbong@google.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 60cc43fc
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -25,6 +25,8 @@ DECLARE_EVENT_CLASS(workqueue_work,
	TP_printk("work struct %p", __entry->work)
	TP_printk("work struct %p", __entry->work)
);
);


struct pool_workqueue;

/**
/**
 * workqueue_queue_work - called when a work gets queued
 * workqueue_queue_work - called when a work gets queued
 * @req_cpu:	the requested cpu
 * @req_cpu:	the requested cpu