• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM psi
4 
5 #define TRACE_INCLUDE_PATH trace/hooks
6 
7 #if !defined(_TRACE_HOOK_PSI_H) || defined(TRACE_HEADER_MULTI_READ)
8 #define _TRACE_HOOK_PSI_H
9 
10 #include <trace/hooks/vendor_hooks.h>
11 
12 struct psi_trigger;
13 struct psi_group;
14 DECLARE_HOOK(android_vh_psi_event,
15 	TP_PROTO(struct psi_trigger *t),
16 	TP_ARGS(t));
17 
18 DECLARE_HOOK(android_vh_psi_group,
19 	TP_PROTO(struct psi_group *group),
20 	TP_ARGS(group));
21 
22 DECLARE_HOOK(android_vh_psi_update_triggers,
23 	TP_PROTO(struct psi_trigger *t, u64 now, u64 growth),
24 	TP_ARGS(t, now, growth));
25 
26 #endif /* _TRACE_HOOK_PSI_H */
27 
28 /* This part must be outside protection */
29 #include <trace/define_trace.h>
30