• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM cpuidle
4 
5 #define TRACE_INCLUDE_PATH trace/hooks
6 
7 #if !defined(_TRACE_HOOK_CPUIDLE_H) || defined(TRACE_HEADER_MULTI_READ)
8 #define _TRACE_HOOK_CPUIDLE_H
9 
10 #include <trace/hooks/vendor_hooks.h>
11 
12 struct cpuidle_device;
13 
14 DECLARE_HOOK(android_vh_cpu_idle_enter,
15 	TP_PROTO(int *state, struct cpuidle_device *dev),
16 	TP_ARGS(state, dev))
17 DECLARE_HOOK(android_vh_cpu_idle_exit,
18 	TP_PROTO(int state, struct cpuidle_device *dev),
19 	TP_ARGS(state, dev))
20 
21 #endif /* _TRACE_HOOK_CPUIDLE_H */
22 /* This part must be outside protection */
23 #include <trace/define_trace.h>
24 
25