mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-02-03 10:14:44 +08:00
16 lines
248 B
C
16 lines
248 B
C
#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];
|
|
};
|
|
|
|
#endif /* __BOOTSTRAP_H */
|