• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM hung_task
4 
5 #define TRACE_INCLUDE_PATH trace/hooks
6 
7 #if !defined(_TRACE_HOOK_HUNG_TASK_H) || defined(TRACE_HEADER_MULTI_READ)
8 #define _TRACE_HOOK_HUNG_TASK_H
9 
10 #include <trace/hooks/vendor_hooks.h>
11 
12 struct task_struct;
13 
14 DECLARE_HOOK(android_vh_check_uninterruptible_tasks,
15 	TP_PROTO(struct task_struct *t, unsigned long timeout,
16 		bool *need_check),
17 	TP_ARGS(t, timeout, need_check));
18 
19 DECLARE_HOOK(android_vh_check_uninterruptible_tasks_dn,
20 	TP_PROTO(void *unused),
21 	TP_ARGS(unused));
22 
23 #endif /* _TRACE_HOOK_HUNG_TASK_H */
24 /* This part must be outside protection */
25 #include <trace/define_trace.h>
26