-
Notifications
You must be signed in to change notification settings - Fork 3
/
ppm_tp.h
31 lines (27 loc) · 958 Bytes
/
ppm_tp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// SPDX-License-Identifier: GPL-2.0-only OR MIT
/*
* Copyright (C) 2023 The Falco Authors.
*
* This file is dual licensed under either the MIT or GPL 2. See MIT.txt
* or GPL2.txt for full copies of the license.
*/
#pragma once
/* | name | path | */
#define KMOD_PROGS \
X(KMOD_PROG_SYS_ENTER, "sys_enter") \
X(KMOD_PROG_SYS_EXIT, "sys_exit") \
X(KMOD_PROG_SCHED_PROC_EXIT, "sched_process_exit") \
X(KMOD_PROG_SCHED_SWITCH, "sched_switch") \
X(KMOD_PROG_PAGE_FAULT_USER, "page_fault_user") \
X(KMOD_PROG_PAGE_FAULT_KERNEL, "page_fault_kernel") \
X(KMOD_PROG_SIGNAL_DELIVER, "signal_deliver") \
X(KMOD_PROG_SCHED_PROC_FORK, "sched_process_fork") \
X(KMOD_PROG_SCHED_PROC_EXEC, "sched_process_exec")
typedef enum
{
#define X(name, path) name,
KMOD_PROGS
#undef X
KMOD_PROG_ATTACHED_MAX,
} kmod_prog_codes;
extern const char *kmod_prog_names[];