1/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
2/* Copyright (c) 2020 Facebook */
3#ifndef __BOOTSTRAP_H
4#define __BOOTSTRAP_H
5
6#define TASK_COMM_LEN 16
7#define MAX_FILENAME_LEN 127
8
9struct event {
10 int pid;
11 int ppid;
12 unsigned exit_code;
13 unsigned long long duration_ns;
14 char comm[TASK_COMM_LEN];
15 char filename[MAX_FILENAME_LEN];
16 bool exit_event;
17};
18
19#endif /* __BOOTSTRAP_H */