diff options
| author | Gabriele Monaco <[email protected]> | 2025-07-28 13:50:18 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-07-28 20:47:34 +0000 |
| commit | adcc3bfa8806761ac21aa271f78454113ec6936e (patch) | |
| tree | df2acb283089982d9ccb6e28541a7573d5bfa80c /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | rv: Retry when da monitor detects race conditions (diff) | |
| download | kernel-adcc3bfa8806761ac21aa271f78454113ec6936e.tar.gz kernel-adcc3bfa8806761ac21aa271f78454113ec6936e.zip | |
sched: Adapt sched tracepoints for RV task model
Add the following tracepoint:
* sched_set_need_resched(tsk, cpu, tif)
Called when a task is set the need resched [lazy] flag
Remove the unused ip parameter from sched_entry and sched_exit and alter
sched_entry to have a value of preempt consistent with the one used in
sched_switch.
Also adapt all monitors using sched_{entry,exit} to avoid breaking build.
These tracepoints are useful to describe the Linux task model and are
adapted from the patches by Daniel Bristot de Oliveira
(https://bristot.me/linux-task-model/).
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Nam Cao <[email protected]>
Cc: Tomas Glozar <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Clark Williams <[email protected]>
Cc: John Kacur <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Gabriele Monaco <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
