Kernel/syscalls - Added timestamp to user debug
authorJohn Hodge <[email protected]>
Fri, 11 Nov 2011 05:01:17 +0000 (13:01 +0800)
committerJohn Hodge <[email protected]>
Fri, 11 Nov 2011 05:01:17 +0000 (13:01 +0800)
Kernel/syscalls.c

index 9775be3..117c51f 100644 (file)
@@ -316,7 +316,7 @@ void SyscallHandler(tSyscallRegs *Regs)
        //#if DEBUG_BUILD
        case SYS_DEBUG:
                CHECK_STR_NONULL( (char*)Regs->Arg1 );
-               LogF("Log: [%i] ", Threads_GetTID());
+               LogF("Log: %08i [%i] ", now(), Threads_GetTID());
                LogF((const char*)Regs->Arg1,
                        Regs->Arg2, Regs->Arg3, Regs->Arg4, Regs->Arg5, Regs->Arg6);
                LogF("\r\n");

UCC git Repository :: git.ucc.asn.au