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 debug |
| 4 | |
| 5 | #define TRACE_INCLUDE_PATH trace/hooks |
| 6 | |
| 7 | #if !defined(_TRACE_HOOK_DEBUG_H) || defined(TRACE_HEADER_MULTI_READ) |
| 8 | #define _TRACE_HOOK_DEBUG_H |
| 9 | |
| 10 | #include <linux/tracepoint.h> |
| 11 | #include <trace/hooks/vendor_hooks.h> |
| 12 | |
| 13 | #if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_ANDROID_VENDOR_HOOKS) |
| 14 | struct pt_regs; |
| 15 | DECLARE_HOOK(android_vh_ipi_stop, |
| 16 | TP_PROTO(struct pt_regs *regs), |
| 17 | TP_ARGS(regs)) |
| 18 | #else |
| 19 | #define trace_android_vh_ipi_stop(regs) |
| 20 | #define trace_android_vh_ipi_stop_rcuidle(regs) |
| 21 | #endif |
| 22 | |
| 23 | #endif /* _TRACE_HOOK_DEBUG_H */ |
| 24 | /* This part must be outside protection */ |
| 25 | #include <trace/define_trace.h> |