SeaBee
Loading...
Searching...
No Matches
Data Structures | Macros | Variables
logging.h File Reference
#include <bpf/vmlinux.h>
#include <bpf/bpf_helpers.h>
#include "logging_types.h"
#include "shared_rust_types.h"
Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  log_ringbuf
 Ring buffer structure that the user space will read logs from. More...
 

Macros

#define DEFAULT_RINGBUF_SIZE   (256 * 1024)
 256KB is the default, but can be set in the skeleton before load
 

Variables

u32 log_level
 Defined in each .bpf.c file. Specifies which logs to output to the ringbuf.
 
struct log_ringbuf log_ringbuf
 Defined in each .bpf.c file. Specifies the ringbuf map to output logs to.
 

Variable Documentation

◆ log_level

u32 log_level
extern

Defined in each .bpf.c file. Specifies which logs to output to the ringbuf.

Defined in each .bpf.c file. Specifies which logs to output to the ringbuf.

◆ log_ringbuf

struct log_ringbuf log_ringbuf
extern

Defined in each .bpf.c file. Specifies the ringbuf map to output logs to.

Defined in each .bpf.c file. Specifies the ringbuf map to output logs to.

logs data back to userspace