]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched: Add deadline tracepoints
authorGabriele Monaco <gmonaco@redhat.com>
Mon, 30 Mar 2026 11:10:08 +0000 (13:10 +0200)
committerGabriele Monaco <gmonaco@redhat.com>
Tue, 31 Mar 2026 14:47:17 +0000 (16:47 +0200)
commit820725b0eb59f6011e379cc526ae90a6f3efeb50
tree908d5307b68aff88e39d70b4e87dd11907e17f6c
parentda282bf7fadb095ee0a40c32ff0126429c769b45
sched: Add deadline tracepoints

Add the following tracepoints:

* sched_dl_throttle(dl_se, cpu, type):
    Called when a deadline entity is throttled
* sched_dl_replenish(dl_se, cpu, type):
    Called when a deadline entity's runtime is replenished
* sched_dl_update(dl_se, cpu, type):
    Called when a deadline entity updates without throttle or replenish
* sched_dl_server_start(dl_se, cpu, type):
    Called when a deadline server is started
* sched_dl_server_stop(dl_se, cpu, type):
    Called when a deadline server is stopped

Those tracepoints can be useful to validate the deadline scheduler with
RV and are not exported to tracefs.

Reviewed-by: Phil Auld <pauld@redhat.com>
Acked-by: Juri Lelli <juri.lelli@redhat.com>
Link: https://lore.kernel.org/r/20260330111010.153663-11-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
include/trace/events/sched.h
kernel/sched/core.c
kernel/sched/deadline.c