Changeset 647 for trunk/kernel/fs/vfs.c
- Timestamp:
- Oct 22, 2019, 1:48:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/fs/vfs.c
r635 r647 681 681 process_t * process = this->process; 682 682 683 #if DEBUG_VFS_OPEN684 uint32_t cycle = (uint32_t)hal_get_cycles();685 if( DEBUG_VFS_OPEN < cycle )686 printk("\n[%s] thread[%x,%x] enter for <%s> / root_inode (%x,%x) / cycle %d\n",687 __FUNCTION__, process->pid, this->trdid, path, GET_CXY(root_xp), GET_PTR(root_xp), cycle );688 #endif689 690 683 // compute lookup working mode 691 684 lookup_mode = VFS_LOOKUP_OPEN; … … 694 687 if( (flags & O_EXCL ) ) lookup_mode |= VFS_LOOKUP_EXCL; 695 688 689 #if DEBUG_VFS_OPEN 690 uint32_t cycle = (uint32_t)hal_get_cycles(); 691 if( DEBUG_VFS_OPEN < cycle ) 692 printk("\n[%s] thread[%x,%x] enter for <%s> / root_inode (%x,%x) / cycle %d\n", 693 __FUNCTION__, process->pid, this->trdid, path, GET_CXY(root_xp), GET_PTR(root_xp), cycle ); 694 #endif 695 696 696 // compute attributes for the created file 697 697 file_attr = 0;
Note: See TracChangeset
for help on using the changeset viewer.