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

cobalt/kernel: Print suspension mask as hex in traces

Aligns cobalt_thread_suspend with cobalt_thread_resume and makes traces
easier readable.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent 2c1ee123
......@@ -251,7 +251,7 @@ TRACE_EVENT(cobalt_thread_suspend,
__entry->wchan = wchan;
TP_printk("thread=%p mask=%lu timeout=%Lu timeout_mode=%d wchan=%p",
TP_printk("thread=%p mask=0x%lx timeout=%Lu timeout_mode=%d wchan=%p",
__entry->thread, __entry->mask,
__entry->timeout, __entry->timeout_mode, __entry->wchan)
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