Add pid/tid to all log messages
This commit is contained in:
parent
2eefda6114
commit
9e3df0ccd0
4 changed files with 27 additions and 9 deletions
|
|
@ -73,7 +73,7 @@ extern "C" uint64_t SyscallHandler(uint64_t call_id, char* message) {
|
|||
panic("Returned from thread exit");
|
||||
break;
|
||||
case Z_DEBUG_PRINT:
|
||||
dbgln("[%u.%u] [Debug] %s", thread.pid(), thread.tid(), message);
|
||||
dbgln("[Debug] %s", message);
|
||||
break;
|
||||
case Z_PROCESS_SPAWN:
|
||||
return ProcessSpawn(reinterpret_cast<ZProcessSpawnReq*>(message));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue