• 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 <linux/tracepoint.h>
11 #include <trace/hooks/vendor_hooks.h>
12 #include <linux/cpumask.h>
13 
14 DECLARE_HOOK(android_vh_arch_set_freq_scale,
15 	TP_PROTO(const struct cpumask *cpus, unsigned long freq,
16 		 unsigned long max, unsigned long *scale),
17 	TP_ARGS(cpus, freq, max, scale));
18 
19 DECLARE_HOOK(android_vh_update_topology_flags_workfn,
20 	TP_PROTO(void *unused),
21 	TP_ARGS(unused));
22 
23 /* macro versions of hooks are no longer required */
24 
25 #endif /* _TRACE_HOOK_TOPOLOGY_H */
26 /* This part must be outside protection */
27 #include <trace/define_trace.h>
28