• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM signal
4 #undef TRACE_INCLUDE_PATH
5 #define TRACE_INCLUDE_PATH trace/hooks
6 #if !defined(_TRACE_HOOK_SIGNAL_H) || defined(TRACE_HEADER_MULTI_READ)
7 #define _TRACE_HOOK_SIGNAL_H
8 #include <linux/tracepoint.h>
9 #include <trace/hooks/vendor_hooks.h>
10 
11 struct task_struct;
12 DECLARE_HOOK(android_vh_do_send_sig_info,
13 	TP_PROTO(int sig, struct task_struct *killer, struct task_struct *dst),
14 	TP_ARGS(sig, killer, dst));
15 DECLARE_HOOK(android_vh_process_killed,
16 	TP_PROTO(struct task_struct *task, bool *reap),
17 	TP_ARGS(task, reap));
18 DECLARE_HOOK(android_vh_exit_signal,
19 	TP_PROTO(struct task_struct *task),
20 	TP_ARGS(task));
21 DECLARE_HOOK(android_vh_killed_process,
22 	TP_PROTO(struct task_struct *killer, struct task_struct *dst, bool *reap),
23 	TP_ARGS(killer, dst, reap));
24 #endif /* _TRACE_HOOK_SIGNAL_H */
25 /* This part must be outside protection */
26 #include <trace/define_trace.h>
27