KFunc scx_bpf_dsq_nr_queued
This function returns the number of queued tasks.
Definition
Parameters
dsq_id
: id of the DSQ
Returns
The number of tasks in the DSQ matching dsq_id
. If not found, -ENOENT
is returned.
Signature
s32 scx_bpf_dsq_nr_queued(u64 dsq_id)
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