Skip to content

KFunc scx_bpf_cpu_rq

v6.12

This function fetches the rq (run queue) of a CPU.

Definition

Parameters

cpu: CPU of the rq

Signature

struct rq *scx_bpf_cpu_rq(s32 cpu)

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