1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #undef TRACE_SYSTEM 3 #define TRACE_SYSTEM softlockup 4 #define TRACE_INCLUDE_PATH trace/hooks 5 6 #if !defined(_TRACE_HOOK_SOFTLOCKUP_H) || defined(TRACE_HEADER_MULTI_READ) 7 #define _TRACE_HOOK_SOFTLOCKUP_H 8 #include <trace/hooks/vendor_hooks.h> 9 10 #ifdef __GENKSYMS__ 11 #include <asm/ptrace.h> 12 #endif 13 14 struct pt_regs; 15 16 DECLARE_HOOK(android_vh_watchdog_timer_softlockup, 17 TP_PROTO(int duration, struct pt_regs *regs, bool is_panic), 18 TP_ARGS(duration, regs, is_panic)); 19 20 #endif /* _TRACE_HOOK_SOFTLOCKUP_H */ 21 /* This part must be outside protection */ 22 #include <trace/define_trace.h> 23