• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM fpsimd
4 
5 #define TRACE_INCLUDE_PATH trace/hooks
6 
7 #if !defined(_TRACE_HOOK_FPSIMD_H) || defined(TRACE_HEADER_MULTI_READ)
8 #define _TRACE_HOOK_FPSIMD_H
9 
10 #include <linux/tracepoint.h>
11 #include <trace/hooks/vendor_hooks.h>
12 
13 #if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_ANDROID_VENDOR_HOOKS)
14 struct task_struct;
15 
16 DECLARE_HOOK(android_vh_is_fpsimd_save,
17 	TP_PROTO(struct task_struct *prev, struct task_struct *next),
18 	TP_ARGS(prev, next))
19 #else
20 
21 #define trace_android_vh_is_fpsimd_save(prev, next)
22 #endif
23 
24 #endif /* _TRACE_HOOK_FPSIMD_H */
25 /* This part must be outside protection */
26 #include <trace/define_trace.h>
27