Skip to content

KFunc scx_bpf_error_bstr

v6.12

This function indicates a fatal error.

Definition

Indicate that the BPF scheduler encountered a fatal error and initiate ops disabling. Intended to be called through the scx_bpf_error() helper macro.

fmt: error message format string

data: format string parameters packaged using ___bpf_fill macro

data__sz: data len, must end in '__sz' for the verifier

Signature

void scx_bpf_error_bstr(char *fmt, long long unsigned int *data, u32 data__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