KFunc scx_bpf_dump_bstr
This function generates extra debug dump specific to the BPF scheduler.
Definition
To be called through scx_bpf_dump()
helper from ops.dump()
, dump_cpu()
and dump_task()
to generate extra debug dump specific to the BPF scheduler.
The extra dump may be multiple lines. A single line may be split over multiple calls. The last line is automatically terminated.
Parameters
fmt
: 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_dump_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