You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
304 B
19 lines
304 B
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
|
|
#ifndef __EXITSNOOP_H
|
|
#define __EXITSNOOP_H
|
|
|
|
#define TASK_COMM_LEN 16
|
|
|
|
struct event {
|
|
__u64 start_time;
|
|
__u64 exit_time;
|
|
__u32 pid;
|
|
__u32 tid;
|
|
__u32 ppid;
|
|
__u32 sig;
|
|
int exit_code;
|
|
char comm[TASK_COMM_LEN];
|
|
};
|
|
|
|
#endif /* __EXITSNOOP_H */
|