diff options
author | Gabriele Monaco <gmonaco@redhat.com> | 2025-03-05 17:03:54 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-03-25 00:27:39 +0300 |
commit | 26f80681a09b95fd64bcf33d02e258e78a30842b (patch) | |
tree | e98095993f49a45b19669cfd0804c69de3804728 /tools/perf/scripts/python/gecko.py | |
parent | 41a4d2d3e3b6fe86bd54cc4c3b731378290a0d00 (diff) | |
download | linux-26f80681a09b95fd64bcf33d02e258e78a30842b.tar.xz |
sched: Add sched tracepoints for RV task model
Add the following tracepoints:
* sched_entry(bool preempt, ip)
Called while entering __schedule
* sched_exit(bool is_switch, ip)
Called while exiting __schedule
* sched_set_state(task, curr_state, state)
Called when a task changes its state (to and from running)
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 <mingo@redhat.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Juri Lelli <juri.lelli@redhat.com>
Link: https://lore.kernel.org/20250305140406.350227-2-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions