1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #undef TRACE_SYSTEM 3 #define TRACE_SYSTEM timer 4 5 #define TRACE_INCLUDE_PATH trace/hooks 6 7 #if !defined(_TRACE_HOOK_TIMER_H) || defined(TRACE_HEADER_MULTI_READ) 8 #define _TRACE_HOOK_TIMER_H 9 10 #include <trace/hooks/vendor_hooks.h> 11 12 DECLARE_HOOK(android_vh_timer_calc_index, 13 TP_PROTO(unsigned int lvl, unsigned long *expires), 14 TP_ARGS(lvl, expires)); 15 16 #endif /* _TRACE_HOOK_TIMER_H */ 17 /* This part must be outside protection */ 18 #include <trace/define_trace.h> 19