/* SPDX-License-Identifier: GPL-2.0 */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM printk

#define TRACE_INCLUDE_PATH trace/hooks

#if !defined(_TRACE_HOOK_PRINTK_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_HOOK_PRINTK_H

#include <trace/hooks/vendor_hooks.h>

DECLARE_HOOK(android_vh_printk_hotplug,
	TP_PROTO(int *flag),
	TP_ARGS(flag));

DECLARE_HOOK(android_vh_printk_caller_id,
	TP_PROTO(u32 *caller_id),
	TP_ARGS(caller_id));
DECLARE_HOOK(android_vh_printk_caller,
	TP_PROTO(char *caller, size_t size, u32 id, int *ret),
	TP_ARGS(caller, size, id, ret));
DECLARE_HOOK(android_vh_printk_ext_header,
	TP_PROTO(char *caller, size_t size, u32 id, int *ret),
	TP_ARGS(caller, size, id, ret));

#endif 

#include <trace/define_trace.h>
