/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/ |
D | loader.rs | 4 use log::info; 15 info!("Loading kernel: {:?}", kernel); in load() 25 info!("Parsing symbols..."); in load() 30 info!("Parsed {} symbols", result.symbols().len()); in load() 31 info!("Loaded kernel: {:?}", kernel); in load()
|
D | mod.rs | 7 use log::info; 95 info!("DragonOS Log Monitor started."); in run_main() 106 info!("run_mm_monitor()"); in run_mm_monitor()
|
/DragonOS-0.1.9/docs/kernel/debug/ |
D | debug-kernel-with-gdb.md | 141   您可以通过`info b`,`info break`或者`info breakpoints`来查看所有的断点信息: 148 (gdb) info b 209 #您可以通过info display命令来查看所有display编号 222 # 您可以通过info display命令来查看所有display编号 287   您可以通过`info threads`命令来查看各个核心的运行状态 290 (gdb) info threads 333 info args #显示当前函数的参数及其值 334 info breakpoints #显示断点以及监视点信息 335 info display #显示当前设置的display列表 336 info locals #显示当前函数/栈帧中的局部变量及其值 [all …]
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/mm/ |
D | bump.rs | 17 let info: X86_64MMBootstrapInfo = BOOTSTRAP_MM_INFO.clone().unwrap(); in arch_remain_areas() localVariable 18 let load_base = info.kernel_load_base_paddr; in arch_remain_areas() 19 let kernel_code_start = MMA::virt_2_phys(VirtAddr::new(info.kernel_code_start)) in arch_remain_areas()
|
D | mod.rs | 629 let info: X86_64MMBootstrapInfo = BOOTSTRAP_MM_INFO.clone().unwrap(); in kernel_page_flags() localVariable 631 if virt.data() >= info.kernel_code_start && virt.data() < info.kernel_code_end { in kernel_page_flags() 634 } else if virt.data() >= info.kernel_data_end && virt.data() < info.kernel_rodata_end { in kernel_page_flags()
|
/DragonOS-0.1.9/kernel/src/process/ |
D | kthread.rs | 303 let info = KernelThreadCreateInfo::new(closure, "kthreadd".to_string()); in init_stage2() localVariable 305 &info, in init_stage2() 330 let info = KernelThreadCreateInfo::new(func, name); in create() localVariable 335 KTHREAD_CREATE_LIST.lock().push_back(info.clone()); in create() 338 return info.poll_result(); in create() 454 while let Some(info) = list.pop_front() { in kthread_daemon() 459 &info, in kthread_daemon() 464 info.created in kthread_daemon() 487 let info = KernelThreadCreateInfo::parse_unsafe_arc_ptr(ptr); in kernel_thread_bootstrap_stage2() localVariable 489 let closure: Box<KernelThreadClosure> = info.take_closure().unwrap(); in kernel_thread_bootstrap_stage2() [all …]
|
D | exit.rs | 190 if let Some(info) = &mut kwo.ret_info { in do_waitpid() 191 *info = WaitIdInfo { in do_waitpid()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/ |
D | kthread.rs | 25 info: &Arc<KernelThreadCreateInfo>, in __inner_create() 30 KernelThreadCreateInfo::generate_unsafe_arc_ptr(info.clone()); in __inner_create() 52 .set_name(info.name().clone()); in __inner_create()
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/monitor/ |
D | mm.rs | 11 use log::info; 46 info!("mm_log_buffer_symbol: {:?}", mm_log_buffer_symbol); in new() 74 info!("MMLogMonitor::run()"); in run() 105 info!("memory log rate: {} logs/s", x - last_cnt); in handle_logs() 154 info!("MMMonitorThread::run(): kmem_path: {:?}", self.kmem_path); in run() 171 info!("Channel header loaded!"); in run() 249 info!("channel_header: {:?}", header); in load_header() 253 …info!("MM Log Channel not found... Maybe the kernel not started? Or the kernel version is not supp… in load_header()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/kvm/vmx/ |
D | vmexit.rs | 252 let info = vmx_vmread(VmcsFields::VMEXIT_INSTR_LEN as u32).unwrap() as u32; in vmexit_handler() localVariable 253 kdebug!("vmexit handler: VMEXIT_INSTR_LEN: {}!", info); in vmexit_handler() 254 let info = vmx_vmread(VmcsFields::VMEXIT_INSTR_INFO as u32).unwrap() as u32; in vmexit_handler() localVariable 255 kdebug!("vmexit handler: VMEXIT_INSTR_INFO: {}!", info); in vmexit_handler() 256 let info = vmx_vmread(VmcsFields::CTRL_EXPECTION_BITMAP as u32).unwrap() as u32; in vmexit_handler() localVariable 257 kdebug!("vmexit handler: CTRL_EXPECTION_BITMAP: {}!", info); in vmexit_handler()
|
/DragonOS-0.1.9/kernel/src/arch/riscv64/mm/ |
D | init.rs | 181 let info = efi_manager().kernel_load_info().unwrap(); in remap_at_low_address() localVariable 182 let base = PhysAddr::new(info.paddr as usize); in remap_at_low_address() 183 let size = info.size as usize; in remap_at_low_address() 203 let info = efi_manager().kernel_load_info().unwrap(); in unmap_at_low_address() localVariable 204 let base = PhysAddr::new(info.paddr as usize); in unmap_at_low_address() 205 let size = info.size as usize; in unmap_at_low_address()
|
/DragonOS-0.1.9/kernel/src/ipc/ |
D | signal_types.rs | 421 let (info, still_pending) = self.queue_mut().find_and_delete(sig); in collect_signal() 428 if info.is_some() { in collect_signal() 429 return info.unwrap(); in collect_signal() 445 let info: Option<SigInfo>; in dequeue_signal() localVariable 448 info = Some(self.collect_signal(sig)); in dequeue_signal() 450 info = None; in dequeue_signal() 455 return (sig, info); in dequeue_signal() 486 let mut info: Option<&SigInfo> = None; in find() localVariable 490 if info.is_some() { in find() 494 info = Some(x); in find() [all …]
|
D | signal.rs | 28 info: Option<&mut SigInfo>, in send_signal_info() 58 retval = self.send_signal(info, pcb.clone(), PidType::PID); in send_signal_info() 70 info: Option<&mut SigInfo>, in send_signal() 78 if let Some(ref siginfo) = info { in send_signal() 108 let new_sig_info = match info { in send_signal()
|
D | syscall.rs | 87 let mut info = SigInfo::new(sig, 0, SigCode::User, SigType::Kill(pid)); in kill() localVariable 92 .send_signal_info(Some(&mut info), pid) in kill()
|
/DragonOS-0.1.9/kernel/src/ |
D | lib.rs | 109 pub fn panic(info: &PanicInfo) -> ! { in panic() 112 match info.location() { in panic() 126 match info.message() { in panic()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/ipc/ |
D | signal.rs | 325 pub info: SigInfo, field 436 let mut info: Option<SigInfo>; in do_signal() localVariable 453 (sig_number, info) = siginfo_mut_guard.dequeue_signal(&sig_block); in do_signal() 489 handle_signal(sig_number, &mut sigaction, &info.unwrap(), &oldset, frame); in do_signal() 536 info: &SigInfo, in handle_signal() 543 return setup_frame(sig, sigaction, info, oldset, frame); in handle_signal() 552 info: &SigInfo, in setup_frame() 635 info.copy_siginfo_to_user(unsafe { &mut ((*frame).info) as *mut SigInfo }) in setup_frame() 667 trap_frame.rsi = unsafe { &(*frame).info as *const SigInfo as u64 }; in setup_frame()
|
/DragonOS-0.1.9/kernel/src/arch/riscv64/process/ |
D | kthread.rs | 17 info: &Arc<KernelThreadCreateInfo>, in __inner_create()
|
/DragonOS-0.1.9/kernel/src/syscall/ |
D | misc.rs | 36 pub fn sysinfo(info: *mut SysInfo) -> Result<usize, SystemError> { in sysinfo() 37 let mut writer = UserBufferWriter::new(info, core::mem::size_of::<SysInfo>(), true)?; in sysinfo()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/ |
D | hpet.rs | 45 info: HpetInfo, field 93 info: hpet_info, in new() 175 if index >= self.info.hpet_number { in timer() 194 if index >= self.info.hpet_number { in timer_mut()
|
/DragonOS-0.1.9/kernel/src/driver/firmware/efi/ |
D | init.rs | 79 if let Some(info) = efi_manager().inner.read().dragonstub_load_info.clone() { in efi_init() 82 PhysAddr::new(info.paddr as usize), in efi_init() 83 page_align_up(info.size as usize), in efi_init()
|
/DragonOS-0.1.9/kernel/src/filesystem/vfs/ |
D | mount.rs | 388 fn info(&self) -> super::FsInfo { in info() method 389 return self.inner_filesystem.info(); in info()
|
/DragonOS-0.1.9/kernel/src/filesystem/devfs/ |
D | mod.rs | 46 fn info(&self) -> super::vfs::FsInfo { in info() method 474 let info = self.metadata()?; in list() localVariable 475 if info.file_type != FileType::Dir { in list()
|
/DragonOS-0.1.9/kernel/src/filesystem/ramfs/ |
D | mod.rs | 67 fn info(&self) -> FsInfo { in info() method 462 let info = self.metadata()?; in list() localVariable 463 if info.file_type != FileType::Dir { in list()
|
/DragonOS-0.1.9/kernel/src/filesystem/kernfs/ |
D | mod.rs | 40 fn info(&self) -> FsInfo { in info() method 285 let info = self.metadata()?; in list() localVariable 286 if info.file_type != FileType::Dir { in list()
|
/DragonOS-0.1.9/kernel/src/filesystem/procfs/ |
D | mod.rs | 274 fn info(&self) -> FsInfo { in info() method 728 let info = self.metadata()?; in list() localVariable 729 if info.file_type != FileType::Dir { in list()
|