blob: 548e350e8090805cdb52a91b05eb496f8c53d0da [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0 */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM pm_domain
#define TRACE_INCLUDE_PATH trace/hooks
#if !defined(_TRACE_HOOK_PM_DOMAIN_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_HOOK_PM_DOMAIN_H
#include <linux/tracepoint.h>
#include <trace/hooks/vendor_hooks.h>
struct generic_pm_domain;
DECLARE_HOOK(android_vh_allow_domain_state,
TP_PROTO(struct generic_pm_domain *genpd, uint32_t idx, bool *allow),
TP_ARGS(genpd, idx, allow))
/* macro versions of hooks are no longer required */
#endif /* _TRACE_HOOK_PM_DOMAIN_H */
#include <trace/define_trace.h>