UAPI TRACE EVENTS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the dev_name of the device running the job.
  • ring β€” the hardware ring running the job. Together with dev, it uniquely identifies where the job is going to be executed. πŸ“
  • fence β€” the struct dma_fence.context and the struct dma_fence.seqno of struct 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