1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #undef TRACE_SYSTEM 3 #define TRACE_SYSTEM psci 4 #undef TRACE_INCLUDE_PATH 5 6 #define TRACE_INCLUDE_PATH trace/hooks 7 8 #if !defined(_TRACE_HOOK_PSCI_H) || defined(TRACE_HEADER_MULTI_READ) 9 #define _TRACE_HOOK_PSCI_H 10 11 #include <trace/hooks/vendor_hooks.h> 12 13 DECLARE_HOOK(android_vh_psci_tos_resident_on, 14 TP_PROTO(int cpu, bool *resident), 15 TP_ARGS(cpu, resident)); 16 17 DECLARE_HOOK(android_vh_psci_cpu_suspend, 18 TP_PROTO(u32 state, bool *deny), 19 TP_ARGS(state, deny)); 20 21 /* macro versions of hooks are no longer required */ 22 23 #endif /* _TRACE_HOOK_PSCI_H */ 24 /* This part must be outside protection */ 25 #include <trace/define_trace.h> 26