summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-03-07 05:29:50 -1000
committerTejun Heo <tj@kernel.org>2026-03-07 05:29:50 -1000
commitce897abc21b2d5e74981ff2b848f3a08a580d50a (patch)
treec7e1d6085d4675f9df5712dd891476de26988322 /tools/perf/scripts/python
parent7203d77d6e04f83f7b78838eed099d9cac31700b (diff)
sched_ext: Add SCX_TASK_REENQ_REASON flags
SCX_ENQ_REENQ indicates that a task is being re-enqueued but doesn't tell the BPF scheduler why. Add SCX_TASK_REENQ_REASON flags using bits 12-13 of p->scx.flags to communicate the reason during ops.enqueue(): - NONE: Not being reenqueued - KFUNC: Reenqueued by scx_bpf_dsq_reenq() and friends More reasons will be added. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions