Skip to content

KFunc scx_bpf_events

v6.15

Get a system-wide event counter

Definition

Parameters

events: output buffer from a BPF program

events__sz: events len

Signature

void scx_bpf_events(struct scx_event_stats *events, size_t events__sz)

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome