From 52addb591b40a69207b49b62dcd0c2753f152ced Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Thu, 6 Mar 2014 13:28:35 +0100 Subject: [PATCH] hw: multiprocessor aware verbosity on thread start ref #1076 --- base-hw/src/core/kernel/thread.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/base-hw/src/core/kernel/thread.cc b/base-hw/src/core/kernel/thread.cc index 33ebcd263..b1e460e57 100644 --- a/base-hw/src/core/kernel/thread.cc +++ b/base-hw/src/core/kernel/thread.cc @@ -212,8 +212,13 @@ Thread::init(Processor * const processor, unsigned const pd_id_arg, /* print log message */ if (START_VERBOSE) { - PINF("in program %u '%s' start thread %u '%s'", - pd_id(), pd_label(), id(), label()); + Genode::printf("start thread %u '%s' in program %u '%s' ", + id(), label(), pd_id(), pd_label()); + if (PROCESSORS) { + Genode::printf("on processor %u/%u ", + processor->id(), PROCESSORS); + } + Genode::printf("\n"); } /* start execution */ if (start) { _schedule(); }