xref: /kernel/linux/linux-5.10/include/trace/hooks/mm.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/include/trace/hooks/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#undef TRACE_SYSTEM
38c2ecf20Sopenharmony_ci#define TRACE_SYSTEM mm
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#define TRACE_INCLUDE_PATH trace/hooks
68c2ecf20Sopenharmony_ci#if !defined(_TRACE_HOOKS_MM_H) || defined(TRACE_HEADER_MULTI_READ)
78c2ecf20Sopenharmony_ci#define _TRACE_HOOKS_MM_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#include <linux/tracepoint.h>
108c2ecf20Sopenharmony_ci#include <trace/hooks/vendor_hooks.h>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciDECLARE_HOOK(vendor_do_mmap,
138c2ecf20Sopenharmony_ci	TP_PROTO(vm_flags_t *vm_flags, int *err),
148c2ecf20Sopenharmony_ci	TP_ARGS(vm_flags, err)
158c2ecf20Sopenharmony_ci);
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciDECLARE_HOOK(vendor_do_mprotect_pkey,
188c2ecf20Sopenharmony_ci	TP_PROTO(unsigned long prot, int *err),
198c2ecf20Sopenharmony_ci	TP_ARGS(prot, err)
208c2ecf20Sopenharmony_ci);
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci#endif
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci/* This part must be outside protection */
258c2ecf20Sopenharmony_ci#include <trace/define_trace.h>
26

Indexes created Thu Nov 07 10:32:03 CST 2024