1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #undef TRACE_SYSTEM 3 #define TRACE_SYSTEM workqueue 4 #define TRACE_INCLUDE_PATH trace/hooks 5 6 #if !defined(_TRACE_HOOK_WORKQUEUE_H) || defined(TRACE_HEADER_MULTI_READ) 7 #define _TRACE_HOOK_WORKQUEUE_H 8 #include <trace/hooks/vendor_hooks.h> 9 /* 10 * Following tracepoints are not exported in tracefs and provide a 11 * mechanism for vendor modules to hook and extend functionality 12 */ 13 struct worker; 14 15 DECLARE_HOOK(android_vh_create_worker, 16 TP_PROTO(struct worker *worker, struct workqueue_attrs *attrs), 17 TP_ARGS(worker, attrs)); 18 /* macro versions of hooks are no longer required */ 19 20 #endif /* _TRACE_HOOK_WORKQUEUE_H */ 21 /* This part must be outside protection */ 22 #include <trace/define_trace.h> 23