• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM topology
4 
5 #define TRACE_INCLUDE_PATH trace/hooks
6 
7 #if !defined(_TRACE_HOOK_TOPOLOGY_H) || defined(TRACE_HEADER_MULTI_READ)
8 #define _TRACE_HOOK_TOPOLOGY_H
9 
10 #include <trace/hooks/vendor_hooks.h>
11 
12 #ifdef __GENKSYMS__
13 #include <linux/cpumask.h>
14 #endif
15 
16 struct cpumask;
17 
18 DECLARE_HOOK(android_vh_arch_set_freq_scale,
19 	TP_PROTO(const struct cpumask *cpus, unsigned long freq,
20 		 unsigned long max, unsigned long *scale),
21 	TP_ARGS(cpus, freq, max, scale));
22 
23 DECLARE_HOOK(android_vh_update_topology_flags_workfn,
24 	TP_PROTO(void *unused),
25 	TP_ARGS(unused));
26 
27 /* macro versions of hooks are no longer required */
28 
29 #endif /* _TRACE_HOOK_TOPOLOGY_H */
30 /* This part must be outside protection */
31 #include <trace/define_trace.h>
32