mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Add the deadline monitors collection to validate the deadline scheduler,
both for deadline tasks and servers.
The currently implemented monitors are:
* nomiss:
validate dl entities run to completion before their deadiline
Reviewed-by: Nam Cao <namcao@linutronix.de>
Reviewed-by: Juri Lelli <juri.lelli@redhat.com>
Link: https://lore.kernel.org/r/20260330111010.153663-13-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
20 lines
633 B
C
20 lines
633 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
|
* Snippet to be included in rv_trace.h
|
|
*/
|
|
|
|
#ifdef CONFIG_RV_MON_NOMISS
|
|
DEFINE_EVENT(event_da_monitor_id, event_nomiss,
|
|
TP_PROTO(int id, char *state, char *event, char *next_state, bool final_state),
|
|
TP_ARGS(id, state, event, next_state, final_state));
|
|
|
|
DEFINE_EVENT(error_da_monitor_id, error_nomiss,
|
|
TP_PROTO(int id, char *state, char *event),
|
|
TP_ARGS(id, state, event));
|
|
|
|
DEFINE_EVENT(error_env_da_monitor_id, error_env_nomiss,
|
|
TP_PROTO(int id, char *state, char *event, char *env),
|
|
TP_ARGS(id, state, event, env));
|
|
#endif /* CONFIG_RV_MON_NOMISS */
|