• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM mpam
4 #undef TRACE_INCLUDE_PATH
5 #define TRACE_INCLUDE_PATH trace/hooks
6 #if !defined(_TRACE_HOOK_MPAM_H) || defined(TRACE_HEADER_MULTI_READ)
7 #define _TRACE_HOOK_MPAM_H
8 #include <trace/hooks/vendor_hooks.h>
9 /*
10  * Following tracepoints are not exported in tracefs and provide a
11  * mechanism for vendor modules to hook and extend functionality
12  */
13 #ifdef __GENKSYMS__
14 #include <linux/sched.h>
15 #endif
16 
17 struct task_struct;
18 
19 DECLARE_HOOK(android_vh_mpam_set,
20 	TP_PROTO(struct task_struct *prev, struct task_struct *next),
21 	TP_ARGS(prev, next));
22 
23 #endif /* _TRACE_HOOK_MPAM_H */
24 /* This part must be outside protection */
25 #include <trace/define_trace.h>
26