Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Ahbong Chang <cwahbong@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

authored by

Ahbong Chang and committed by
Steven Rostedt (VMware)
1cdae042 60cc43fc

+2
+2
include/trace/events/workqueue.h
··· 25 25 TP_printk("work struct %p", __entry->work) 26 26 ); 27 27 28 + struct pool_workqueue; 29 + 28 30 /** 29 31 * workqueue_queue_work - called when a work gets queued 30 32 * @req_cpu: the requested cpu