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

#define TRACE_INCLUDE_PATH trace/hooks
#if !defined(_TRACE_HOOK_MEMORY_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_HOOK_MEMORY_H
#include <trace/hooks/vendor_hooks.h>

DECLARE_HOOK(android_vh_set_memory_nx,
	TP_PROTO(unsigned long addr, int nr_pages),
	TP_ARGS(addr, nr_pages));

DECLARE_HOOK(android_vh_set_memory_rw,
	TP_PROTO(unsigned long addr, int nr_pages),
	TP_ARGS(addr, nr_pages));

#endif 

#include <trace/define_trace.h>
