Eunomia
0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
|
syscall tracker cpp interface More...
#include <syscall.h>
Classes | |
struct | csv_event_printer |
struct | json_event_handler |
struct | json_event_printer |
struct | plain_text_event_printer |
struct | prometheus_event_handler |
Public Member Functions | |
syscall_tracker (config_data config) | |
void | start_tracker () |
start the tracker thread More... | |
Public Member Functions inherited from tracker_with_config< syscall_env, syscall_event > | |
tracker_with_config (tracker_config< syscall_env, syscall_event > config) | |
virtual | ~tracker_with_config () |
Public Member Functions inherited from tracker_base | |
virtual | ~tracker_base () |
constructor More... | |
void | stop_tracker (void) |
stop the tracker thread More... | |
Static Public Member Functions | |
static std::unique_ptr< syscall_tracker > | create_tracker_with_default_env (tracker_event_handler handler) |
static std::unique_ptr< syscall_tracker > | create_tracker_with_args (tracker_event_handler handler, const std::vector< std::string > &args) |
Additional Inherited Members | |
Public Types inherited from tracker_with_config< syscall_env, syscall_event > | |
using | event = syscall_event |
type alias for event More... | |
using | config_data = tracker_config< syscall_env, syscall_event > |
type alias for env and config More... | |
using | tracker_event_handler = std::shared_ptr< event_handler< syscall_event > > |
type alias for event handler More... | |
Public Attributes inherited from tracker_with_config< syscall_env, syscall_event > | |
tracker_config< syscall_env, syscall_event > | current_config |
config data More... | |
Public Attributes inherited from tracker_base | |
volatile bool | exiting |
is the tracker exiting More... | |
syscall tracker cpp interface
catch all syscall enter and exit events
syscall_tracker::syscall_tracker | ( | config_data | config | ) |
|
inlinestatic |
|
static |
|
virtual |
start the tracker thread
Implements tracker_base.