/DragonOS/kernel/src/libs/ |
H A D | printk.rs | 7 use log::{info, Level, Log}; 18 log::{LogLevel, LogMessage}, 79 pub fn log(&self, log_level: usize, message: fmt::Arguments) { in log() method 97 fn enabled(&self, _metadata: &log::Metadata) -> bool { in enabled() 102 fn log(&self, record: &log::Record) { in log() method 116 fn iodisplay(record: &log::Record) { in iodisplay() 139 fn kernel_log(record: &log::Record) { in kernel_log() 141 Level::Debug => Logger.log( in kernel_log() 150 Level::Error => Logger.log( in kernel_log() 159 Level::Info => Logger.log( in kernel_log() [all …]
|
/DragonOS/kernel/src/debug/klog/ |
H A D | mm.rs | 52 pub fn log(log_type: AllocatorLogType, source: LogSource, pid: Option<Pid>) { in log() method 54 let log = AllocatorLog::new( in log() localVariable 62 let mut log = log; in log() localVariable 65 let r = __MM_ALLOCATOR_LOG_CHANNEL.buf.push(log); in log() 74 log = r.into_inner(); in log()
|
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | ui.rs | 111 log if log.contains("INFO") => info_style, in draw_footer() 112 log if log.contains("WARNING") => warning_style, in draw_footer() 113 log if log.contains("ERROR") => error_style, in draw_footer() 114 log if log.contains("CRITICAL") => critical_style, in draw_footer()
|
H A D | logging.rs | 3 use log::LevelFilter; 48 fn log(&self, message: String) { in log() method
|
H A D | app.rs | 74 for log in logs { in handle_logs_on_tick() 75 self.push_log(log); in handle_logs_on_tick() 97 pub fn push_log(&mut self, log: String) { in push_log() 98 self.logs.push(log); in push_log()
|
H A D | command.rs | 26 log::warn!("kmem_file_parser: {}", s); in kmem_file_parser()
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | mm.rs | 11 use log::info; 97 for log in logs.logs { in handle_logs() 98 logs_set.insert(log.id as usize, log); in handle_logs() 164 log::error!("Failed to open kmem file, error: {:?}", f.unwrap_err()); in run() 206 let log: Option<ObjectWrapper<AllocatorLog>> = in process_logs() localVariable 208 let log: ObjectWrapper<AllocatorLog> = log.unwrap(); in process_logs() localVariable 210 if log.is_valid() { in process_logs() 211 Some(log) in process_logs()
|
/DragonOS/kernel/crates/intertrait/ |
H A D | .gitignore | 13 /log/ 15 /test/log/
|
/DragonOS/kernel/src/arch/x86_64/init/ |
H A D | multiboot.rs | 62 log::debug!("No kernel command line found in multiboot1 info"); in init_kernel_cmdline() 70 log::info!("Kernel command line: {}\n", cmdline); in init_kernel_cmdline() 132 log::warn!( in early_init_memory_blocks() 144 log::warn!( in early_init_memory_blocks() 155 log::info!( in early_init_memory_blocks() 168 log::warn!( in early_init_memory_blocks()
|
H A D | multiboot2.rs | 162 log::warn!( in early_init_memory_blocks() 175 log::warn!( in early_init_memory_blocks() 186 log::info!( in early_init_memory_blocks() 200 log::warn!( in early_init_memory_blocks()
|
/DragonOS/.vscode/ |
H A D | .gitignore | 1 *.log
|
/DragonOS/tools/debugging/logmonitor/ |
H A D | README.md | 9 2. 当qemu启动后,在DragonOS项目的根目录中,运行`make log-monitor`。
|
H A D | Cargo.toml | 16 log = "0.4.20"
|
/DragonOS/kernel/crates/rust-slabmalloc/ |
H A D | Cargo.toml | 11 log = "0.4"
|
/DragonOS/kernel/src/arch/riscv64/process/ |
H A D | idle.rs | 3 use log::error;
|
/DragonOS/kernel/src/arch/riscv64/smp/ |
H A D | mod.rs | 1 use log::warn;
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | idle.rs | 3 use log::error;
|
/DragonOS/kernel/src/smp/ |
H A D | init.rs | 1 use log::info;
|
/DragonOS/kernel/src/init/ |
H A D | initial_kthread.rs | 6 use log::{debug, error}; 38 .inspect_err(|e| log::error!("ahci_init failed: {:?}", e)) in kernel_init()
|
/DragonOS/user/apps/about/ |
H A D | Makefile | 8 GIT_COMMIT_SHA1=$(shell git log -n 1 | head -n 1 | cut -d ' ' -f 2 | cut -c1-8)
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | mmio.rs | 2 use log::error;
|
/DragonOS/kernel/crates/rust-slabmalloc/src/ |
H A D | lib.rs | 42 use log::trace;
|
/DragonOS/kernel/src/filesystem/procfs/ |
H A D | kmsg.rs | 3 use super::log::{LogLevel, LogMessage}; 11 use log::info;
|
/DragonOS/kernel/src/arch/x86_64/ |
H A D | acpi.rs | 3 use log::info;
|
/DragonOS/kernel/src/arch/riscv64/syscall/ |
H A D | mod.rs | 21 log::debug!("syscall return:pid={:?},ret= {:?}\n", pid, ret as isize);
|