Skip to content

Commit

Permalink
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions kunai-common/src/bpf_events.rs
Original file line number Diff line number Diff line change
@@ -118,28 +118,39 @@ pub enum Type {
#[str("file_create")]
FileCreate,

// for lost events
#[str("event_loss")]
Loss = 498,
// error event
#[str("error")]
Error = 499,

// specific userland events
// those should never be used in eBPF
#[str("file_scan")]
FileScan = 500,

// Materialize the end of configurable events
#[str("end_configurable")]
EndConfigurable = 1000,
EndConfigurable = 999,

// Following events are not configurable but may
// be filterable

// !!! Events NOT configurable but filterable

// error event
#[str("error")]
Error,

// !!! Events NOT configurable and NOT filterable

// Agent events types are not configurable
// but must have a fixed id

// lost events
#[str("event_loss")]
Loss = 1100,

// Those events are not configurable but should have
// fix event number as these are displayed
// start event
#[str("start")]
Start,

// specific events
// specific events which are never displayed
// do not need a fixed identifier
#[str("task_sched")]
TaskSched,
#[str("correlation")]

0 comments on commit 5dc1e6e

Please sign in to comment.