123456789101112131415161718192021222324 |
- /* SPDX-License-Identifier: GPL-2.0+ */
- /*
- * SO2 kprobe based tracer header file
- *
- * this is shared with user space
- */
- #ifndef TRACER_H__
- #define TRACER_H__ 1
- #include <asm/ioctl.h>
- #ifndef __KERNEL__
- #include <sys/types.h>
- #endif /* __KERNEL__ */
- #define TRACER_DEV_MINOR 42
- #define TRACER_DEV_NAME "tracer"
- #define TRACER_ADD_PROCESS _IOW(_IOC_WRITE, 42, pid_t)
- #define TRACER_REMOVE_PROCESS _IOW(_IOC_WRITE, 43, pid_t)
- #endif /* TRACER_H__ */
|