mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-03-22 12:50:51 +08:00
17 lines
297 B
C
Executable File
17 lines
297 B
C
Executable File
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
|
|
/* Copyright (c) 2021~2022 Hengqi Chen */
|
|
#ifndef __SIGSNOOP_H
|
|
#define __SIGSNOOP_H
|
|
|
|
#define TASK_COMM_LEN 16
|
|
|
|
struct event {
|
|
unsigned int pid;
|
|
unsigned int tpid;
|
|
int sig;
|
|
int ret;
|
|
char comm[TASK_COMM_LEN];
|
|
};
|
|
|
|
#endif /* __SIGSNOOP_H */
|