Changeset 438 for trunk/kernel/syscalls/sys_wait.c
- Timestamp:
- Apr 4, 2018, 2:49:02 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_wait.c
r436 r438 49 49 pid_t pid = process->pid; 50 50 51 #if CONFIG_DEBUG_SYS_WAIT51 #if DEBUG_SYS_WAIT 52 52 uint64_t tm_start; 53 53 uint64_t tm_end; 54 54 tm_start = hal_get_cycles(); 55 if( CONFIG_DEBUG_SYS_WAIT < tm_start )55 if( DEBUG_SYS_WAIT < tm_start ) 56 56 printk("\n[DBG] %s : thread %x enter / process %x / cycle %d\n", 57 57 __FUNCTION__, this, process->pid, (uint32_t)tm_start ); … … 64 64 { 65 65 66 #if CONFIG_DEBUG_SYSCALLS_ERROR66 #if DEBUG_SYSCALLS_ERROR 67 67 printk("\n[ERROR] in %s : status buffer unmapped for thread %x in process %x\n", 68 68 __FUNCTION__ , this->trdid , process->pid ); … … 80 80 { 81 81 82 #if CONFIG_DEBUG_SYSCALL_ERROR82 #if DEBUG_SYSCALL_ERROR 83 83 printk("\n[ERROR] in %s : calling thread %x is not thread 0 in owner cluster %x\n", 84 84 __FUNCTION__ , trdid , owner_cxy ); … … 135 135 remote_spinlock_unlock( children_lock_xp ); 136 136 137 #if CONFIG_DEBUG_SYS_WAIT137 #if DEBUG_SYS_WAIT 138 138 tm_end = hal_get_cycles(); 139 if( CONFIG_DEBUG_SYS_WAIT < tm_end )139 if( DEBUG_SYS_WAIT < tm_end ) 140 140 printk("\n[DBG] %s : thread %x exit / parent %x / child %x / cycle %d\n", 141 141 __FUNCTION__, this, process->pid, child_pid, (uint32_t)tm_end );
Note: See TracChangeset
for help on using the changeset viewer.