/* SPDX-License-Identifier: GPL-2.0 */ #undef TRACE_SYSTEM #define TRACE_SYSTEM topology #define TRACE_INCLUDE_PATH trace/hooks #if !defined(_TRACE_HOOK_TOPOLOGY_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_HOOK_TOPOLOGY_H #include struct cpumask; DECLARE_HOOK(android_vh_arch_set_freq_scale, TP_PROTO(const struct cpumask *cpus, unsigned long freq, unsigned long max, unsigned long *scale), TP_ARGS(cpus, freq, max, scale)); DECLARE_HOOK(android_vh_update_topology_flags_workfn, TP_PROTO(void *unused), TP_ARGS(unused)); DECLARE_HOOK(android_vh_use_amu_fie, TP_PROTO(bool *use_amu_fie), TP_ARGS(use_amu_fie)); DECLARE_RESTRICTED_HOOK(android_rvh_update_thermal_stats, TP_PROTO(int cpu), TP_ARGS(cpu), 1); #endif /* _TRACE_HOOK_TOPOLOGY_H */ /* This part must be outside protection */ #include