/* SPDX-License-Identifier: GPL-2.0 */ #undef TRACE_SYSTEM #define TRACE_SYSTEM psci #undef TRACE_INCLUDE_PATH #define TRACE_INCLUDE_PATH trace/hooks #if !defined(_TRACE_HOOK_PSCI_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_HOOK_PSCI_H #include DECLARE_HOOK(android_vh_psci_tos_resident_on, TP_PROTO(int cpu, bool *resident), TP_ARGS(cpu, resident)); DECLARE_HOOK(android_vh_psci_cpu_suspend, TP_PROTO(u32 state, bool *deny), TP_ARGS(state, deny)); /* macro versions of hooks are no longer required */ #endif /* _TRACE_HOOK_PSCI_H */ /* This part must be outside protection */ #include