• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM epoch
4 
5 #define TRACE_INCLUDE_PATH trace/hooks
6 
7 #if !defined(_TRACE_HOOK_EPOCH_H) || defined(TRACE_HEADER_MULTI_READ)
8 #define _TRACE_HOOK_EPOCH_H
9 
10 #include <trace/hooks/vendor_hooks.h>
11 
12 DECLARE_HOOK(android_vh_show_suspend_epoch_val,
13 	TP_PROTO(u64 suspend_ns, u64 suspend_cycles),
14 	TP_ARGS(suspend_ns, suspend_cycles));
15 
16 DECLARE_HOOK(android_vh_show_resume_epoch_val,
17 	TP_PROTO(u64 resume_cycles),
18 	TP_ARGS(resume_cycles));
19 
20 #endif /* _TRACE_HOOK_EPOCH_H */
21 /* This part must be outside protection */
22 #include <trace/define_trace.h>
23