Home
last modified time | relevance | path

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

/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dmm.rs15 monitor::{logset::LogSet, ObjectWrapper},
79 LogSet::<usize, ObjectWrapper<AllocatorLog>>::new("mm_allocator_log".to_string(), None); in run()
85 fn handle_logs(&self, logs_set: &mut LogSet<usize, ObjectWrapper<AllocatorLog>>) { in handle_logs()
173 let channel_header: ObjectWrapper<MMLogChannel<1>> = self.load_header(&mut kmem_file); in run()
181 fn process_logs(&self, kmem_file: &mut File, channel_header: &ObjectWrapper<MMLogChannel<1>>) { in process_logs()
206 let log: Option<ObjectWrapper<AllocatorLog>> = in process_logs()
207 ObjectWrapper::new(&chunck[0..channel_header.element_size as usize]); in process_logs()
208 let log: ObjectWrapper<AllocatorLog> = log.unwrap(); in process_logs()
233 fn load_header(&self, kmem_file: &mut File) -> ObjectWrapper<MMLogChannel<1>> { in load_header()
241 let channel_header: Option<ObjectWrapper<MMLogChannel<1>>>; in load_header()
[all …]
H A Dmod.rs10 pub struct ObjectWrapper<T> { struct
14 impl<T: Debug + Sized> ObjectWrapper<T> { impl
33 impl<T> DerefMut for ObjectWrapper<T> { implementation
39 impl<T> Deref for ObjectWrapper<T> { implementation