UAPI TRACE EVENTS(9)
π uAPI trace events π
okay so welcome to the Kernel API Manual page for uAPI trace events(9) π bestie, this one is short but iconic.
The stable uAPI crew is drm_sched_job_queue, drm_sched_job_run, drm_sched_job_add_dep, drm_sched_job_done, and drm_sched_job_unschedulable β these are considered stable uAPI, periodt. π
Common trace events attributes:
devβ thedev_nameof the device running the job.ringβ the hardware ring running the job. Together withdev, it uniquely identifies where the job is going to be executed. πfenceβ thestruct dma_fence.contextand thestruct dma_fence.seqnoofstruct drm_sched_fence.finished.
All the events depend on drm_sched_job_arm having been called already for the job, because they use struct drm_sched_job.sched or struct drm_sched_job.s_fence. lowkey crucial info, no cap. β¨
π¦ SEE ALSO π¦
- Kernel file:
./drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
okay byeee bestie π the source/version is ./drivers/gpu/drm/scheduler, the date is October 2026, and this is literally the uAPI trace events(9) page β mwah π«Ά slay π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms