cobalt/tracing: Primarily identify threads via pid
Except for the short phase between thread_init and shadow_map, a thread
is always identifiable via the pid of its Linux mate. Use this shorter
value, which also correlates with what ftrace records anyway, instead of
the pointer or the name. Report the full thread name only in prominent
cases: init, resume and switch.
Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com>
Please register or sign in to comment