Changeset 628 for trunk/kernel/kern/rpc.c
- Timestamp:
- May 6, 2019, 1:28:01 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.c
r625 r628 1735 1735 error_t * error ) // out 1736 1736 { 1737 #if DEBUG_RPC_VFS_FS_ GET_DENTRY1738 thread_t * this = CURRENT_THREAD; 1739 uint32_t cycle = (uint32_t)hal_get_cycles(); 1740 if( cycle > DEBUG_RPC_VFS_FS_ GET_DENTRY )1737 #if DEBUG_RPC_VFS_FS_NEW_DENTRY 1738 thread_t * this = CURRENT_THREAD; 1739 uint32_t cycle = (uint32_t)hal_get_cycles(); 1740 if( cycle > DEBUG_RPC_VFS_FS_NEW_DENTRY ) 1741 1741 printk("\n[%s] thread[%x,%x] on core %d enter / cycle %d\n", 1742 1742 __FUNCTION__, this->process->pid, this->trdid, this->core->lid , cycle ); … … 1747 1747 // initialise RPC descriptor header 1748 1748 rpc_desc_t rpc; 1749 rpc.index = RPC_VFS_FS_ GET_DENTRY;1749 rpc.index = RPC_VFS_FS_NEW_DENTRY; 1750 1750 rpc.blocking = true; 1751 1751 rpc.rsp = &responses; … … 1762 1762 *error = (error_t)rpc.args[3]; 1763 1763 1764 #if DEBUG_RPC_VFS_FS_ GET_DENTRY1765 cycle = (uint32_t)hal_get_cycles(); 1766 if( cycle > DEBUG_RPC_VFS_FS_ GET_DENTRY )1764 #if DEBUG_RPC_VFS_FS_NEW_DENTRY 1765 cycle = (uint32_t)hal_get_cycles(); 1766 if( cycle > DEBUG_RPC_VFS_FS_NEW_DENTRY ) 1767 1767 printk("\n[%s] thread[%x,%x] on core %d exit / cycle %d\n", 1768 1768 __FUNCTION__, this->process->pid, this->trdid, this->core->lid , cycle ); … … 1773 1773 void rpc_vfs_fs_new_dentry_server( xptr_t xp ) 1774 1774 { 1775 #if DEBUG_RPC_VFS_FS_ GET_DENTRY1776 thread_t * this = CURRENT_THREAD; 1777 uint32_t cycle = (uint32_t)hal_get_cycles(); 1778 if( cycle > DEBUG_RPC_VFS_FS_ GET_DENTRY )1775 #if DEBUG_RPC_VFS_FS_NEW_DENTRY 1776 thread_t * this = CURRENT_THREAD; 1777 uint32_t cycle = (uint32_t)hal_get_cycles(); 1778 if( cycle > DEBUG_RPC_VFS_FS_NEW_DENTRY ) 1779 1779 printk("\n[%s] thread[%x,%x] on core %d enter / cycle %d\n", 1780 1780 __FUNCTION__, this->process->pid, this->trdid, this->core->lid , cycle ); … … 1807 1807 hal_remote_s64( XPTR( client_cxy , &desc->args[3] ) , (uint64_t)error ); 1808 1808 1809 #if DEBUG_RPC_VFS_FS_ GET_DENTRY1810 cycle = (uint32_t)hal_get_cycles(); 1811 if( cycle > DEBUG_RPC_VFS_FS_ GET_DENTRY )1809 #if DEBUG_RPC_VFS_FS_NEW_DENTRY 1810 cycle = (uint32_t)hal_get_cycles(); 1811 if( cycle > DEBUG_RPC_VFS_FS_NEW_DENTRY ) 1812 1812 printk("\n[%s] thread[%x,%x] on core %d exit / cycle %d\n", 1813 1813 __FUNCTION__, this->process->pid, this->trdid, this->core->lid , cycle );
Note: See TracChangeset
for help on using the changeset viewer.