Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 182) sorted by relevance

12345678

/DragonOS/kernel/src/libs/
H A Dprintk.rs7 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 Dmm.rs52 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 Dui.rs111 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 Dlogging.rs3 use log::LevelFilter;
48 fn log(&self, message: String) { in log() method
H A Dapp.rs74 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 Dcommand.rs26 log::warn!("kmem_file_parser: {}", s); in kmem_file_parser()
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dmm.rs11 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.gitignore13 /log/
15 /test/log/
/DragonOS/kernel/src/arch/x86_64/init/
H A Dmultiboot.rs62 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 Dmultiboot2.rs162 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.gitignore1 *.log
/DragonOS/tools/debugging/logmonitor/
H A DREADME.md9 2. 当qemu启动后,在DragonOS项目的根目录中,运行`make log-monitor`。
H A DCargo.toml16 log = "0.4.20"
/DragonOS/kernel/crates/rust-slabmalloc/
H A DCargo.toml11 log = "0.4"
/DragonOS/kernel/src/arch/riscv64/process/
H A Didle.rs3 use log::error;
/DragonOS/kernel/src/arch/riscv64/smp/
H A Dmod.rs1 use log::warn;
/DragonOS/kernel/src/arch/x86_64/process/
H A Didle.rs3 use log::error;
/DragonOS/kernel/src/smp/
H A Dinit.rs1 use log::info;
/DragonOS/kernel/src/init/
H A Dinitial_kthread.rs6 use log::{debug, error};
38 .inspect_err(|e| log::error!("ahci_init failed: {:?}", e)) in kernel_init()
/DragonOS/user/apps/about/
H A DMakefile8 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 Dmmio.rs2 use log::error;
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dlib.rs42 use log::trace;
/DragonOS/kernel/src/filesystem/procfs/
H A Dkmsg.rs3 use super::log::{LogLevel, LogMessage};
11 use log::info;
/DragonOS/kernel/src/arch/x86_64/
H A Dacpi.rs3 use log::info;
/DragonOS/kernel/src/arch/riscv64/syscall/
H A Dmod.rs21 log::debug!("syscall return:pid={:?},ret= {:?}\n", pid, ret as isize);

12345678