Home
last modified time | relevance | path

Searched refs:command_line_args (Results 1 – 2 of 2) sorted by relevance

/DragonOS/tools/debugging/logmonitor/src/backend/
H A Dmod.rs27 pub fn new(command_line_args: CommandLineArgs, sender: mpsc::Sender<Event>) -> Arc<Self> { in new()
29 _command_line_args: command_line_args.clone(), in new()
36 r.data.lock().unwrap().kmem_path = Some(PathBuf::from(&command_line_args.kmem)); in new()
39 let cmdargs = command_line_args.clone(); in new()
74 command_line_args: CommandLineArgs, field
81 command_line_args: CommandLineArgs, in new()
87 command_line_args, in new()
123 let res = loader::KernelLoader::load(&self.command_line_args.kernel) in load_kernel()
/DragonOS/tools/debugging/logmonitor/src/
H A Dmain.rs16 let command_line_args = command::CommandLineArgs::parse(); in main() localVariable
17 *CMD_ARGS.write().unwrap() = Some(command_line_args.clone()); in main()
18 println!("{:?}", command_line_args); in main()
21 let logging_init_result = logmonitor::logging::init(&command_line_args); in main()
22 if !command_line_args.tui { in main()
23 return start_headless_app(command_line_args, logging_init_result); in main()
25 return start_tui_app(command_line_args, logging_init_result); in main()