b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 | DECLARE_HOOK(android_vh_wq_lockup_pool, |
| 15 | TP_PROTO(int cpu, unsigned long pool_ts), |
| 16 | TP_ARGS(cpu, pool_ts)); |
| 17 | |
| 18 | /* macro versions of hooks are no longer required */ |
| 19 | |
| 20 | #endif /* _TRACE_HOOK_WQLOCKUP_H */ |
| 21 | /* This part must be outside protection */ |
| 22 | #include <trace/define_trace.h> |