1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #undef TRACE_SYSTEM 3 #define TRACE_SYSTEM bug 4 #define TRACE_INCLUDE_PATH trace/hooks 5 6 #if !defined(_TRACE_HOOK_BUG_H) || defined(TRACE_HEADER_MULTI_READ) 7 #define _TRACE_HOOK_BUG_H 8 #include <trace/hooks/vendor_hooks.h> 9 10 DECLARE_RESTRICTED_HOOK(android_rvh_report_bug, 11 TP_PROTO(const char *file, unsigned int line, unsigned long bugaddr), 12 TP_ARGS(file, line, bugaddr), 1); 13 14 #endif /* _TRACE_HOOK_BUG_H */ 15 /* This part must be outside protection */ 16 #include <trace/define_trace.h> 17