1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #undef TRACE_SYSTEM 3 #define TRACE_SYSTEM wqlockup 4 #define TRACE_INCLUDE_PATH trace/hooks 5 6 #if !defined(_TRACE_HOOK_WQLOCKUP_H) || defined(TRACE_HEADER_MULTI_READ) 7 #define _TRACE_HOOK_WQLOCKUP_H 8 #include <linux/tracepoint.h> 9 #include <trace/hooks/vendor_hooks.h> 10 /* 11 * Following tracepoints are not exported in tracefs and provide a 12 * mechanism for vendor modules to hook and extend functionality 13 */ 14 #if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_ANDROID_VENDOR_HOOKS) 15 DECLARE_HOOK(android_vh_wq_lockup_pool, 16 TP_PROTO(int cpu, unsigned long pool_ts), 17 TP_ARGS(cpu, pool_ts)); 18 #else 19 #define trace_android_vh_wq_lockup_pool(cpu, pool_ts) 20 #endif 21 22 #endif /* _TRACE_HOOK_WQLOCKUP_H */ 23 /* This part must be outside protection */ 24 #include <trace/define_trace.h> 25