hw: multiprocessor aware verbosity on thread start

ref #1076
This commit is contained in:
Martin Stein 2014-03-06 13:28:35 +01:00 committed by Norman Feske
parent ed9c4f4427
commit 52addb591b
1 changed files with 7 additions and 2 deletions

View File

@ -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(); }