Commit 6eea9584 authored by Jan Kiszka's avatar Jan Kiszka Committed by Philippe Gerum
Browse files

cobalt/tracing: Do not print numerical policy in trace



__print_symbolic already ensures that unknown policies are printed
numerically.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 5aed94e0
......@@ -149,8 +149,8 @@ DECLARE_EVENT_CLASS(cobalt_posix_schedparam,
memcpy(__get_dynamic_array(param_ex), param_ex, sizeof(*param_ex));
),
TP_printk("pth=%p policy=%d(%s) param={ %s }",
(void *)__entry->pth, __entry->policy,
TP_printk("pth=%p policy=%s param={ %s }",
(void *)__entry->pth,
cobalt_print_sched_policy(__entry->policy),
cobalt_print_sched_params(__entry->policy,
(struct sched_param_ex *)
......@@ -175,8 +175,8 @@ DECLARE_EVENT_CLASS(cobalt_posix_scheduler,
memcpy(__get_dynamic_array(param_ex), param_ex, sizeof(*param_ex));
),
TP_printk("pid=%d policy=%d(%s) param={ %s }",
__entry->pid, __entry->policy,
TP_printk("pid=%d policy=%s param={ %s }",
__entry->pid,
cobalt_print_sched_policy(__entry->policy),
cobalt_print_sched_params(__entry->policy,
(struct sched_param_ex *)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment