21 lines
435 B
C
21 lines
435 B
C
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
|
|
/* Copyright (c) 2020 Facebook */
|
|
#ifndef __BOOTSTRAP_H
|
|
#define __BOOTSTRAP_H
|
|
|
|
#define TASK_COMM_LEN 16
|
|
#define MAX_FILENAME_LEN 127
|
|
|
|
struct event {
|
|
int pid;
|
|
int ppid;
|
|
unsigned int exit_code;
|
|
char pad0[4];
|
|
unsigned long long duration_ns;
|
|
char comm[16];
|
|
char filename[127];
|
|
char exit_event;
|
|
} __attribute__((packed));
|
|
|
|
#endif /* __BOOTSTRAP_H */
|