An error occurred while loading the file. Please try again.
-
Hosein Bakhtiari authored
Add support for clang-format so the code style would be consistent throughout the whole project for C examples. Signed-off-by:
Hosein Bakhtiari <h.bakhtiary.z@gmail.com>
c74c97ef
/* 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 exit_code;
unsigned long long duration_ns;
char comm[TASK_COMM_LEN];
char filename[MAX_FILENAME_LEN];
bool exit_event;
};
#endif /* __BOOTSTRAP_H */