diff options
author | 2025-03-05 15:03:54 +0100 | |
---|---|---|
committer | 2025-03-24 17:27:39 -0400 | |
commit | 26f80681a09b95fd64bcf33d02e258e78a30842b (patch) | |
tree | e98095993f49a45b19669cfd0804c69de3804728 /include/linux/rv.h | |
parent | rv: Add license identifiers to monitor files (diff) | |
download | wireguard-linux-26f80681a09b95fd64bcf33d02e258e78a30842b.tar.xz wireguard-linux-26f80681a09b95fd64bcf33d02e258e78a30842b.zip |
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 'include/linux/rv.h')
-rw-r--r-- | include/linux/rv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rv.h b/include/linux/rv.h index 8883b41d88ec..55d458be53a4 100644 --- a/include/linux/rv.h +++ b/include/linux/rv.h @@ -7,7 +7,7 @@ #ifndef _LINUX_RV_H #define _LINUX_RV_H -#define MAX_DA_NAME_LEN 24 +#define MAX_DA_NAME_LEN 32 #ifdef CONFIG_RV /* |