/DragonOS/kernel/src/perf/ |
H A D | mod.rs | 58 event: Box<dyn PerfEventOps>, field 63 pub fn new(event: Box<dyn PerfEventOps>) -> Self { in new() 65 event, in new() 86 if self.event.readable() { in do_poll() 102 &self.event in deref() 108 self.event.mmap(start, len, offset) in mmap() 158 self.event.enable()?; in ioctl() 162 self.event.disable()?; in ioctl() 173 self.event.set_bpf_prog(file)?; in ioctl() 203 self.event.page_cache() in page_cache() [all …]
|
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | event.rs | 2 use crate::backend::event::BackendEvent; 3 use crossterm::event::{self, Event as CrosstermEvent, KeyEvent, MouseEvent}; 48 if event::poll(timeout).expect("no events available") { in new() 49 match event::read().expect("unable to read event") { in new()
|
H A D | handler.rs | 3 backend::event::BackendEvent, 5 use crossterm::event::{KeyCode, KeyEvent, KeyModifiers};
|
H A D | tui.rs | 2 use crate::event::EventHandler; 4 use crossterm::event::DisableMouseCapture;
|
H A D | lib.rs | 12 pub mod event; module
|
H A D | main.rs | 5 use logmonitor::event::{Event, EventHandler};
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | mod.rs | 82 event: RwLock<EPollEvent>, field 98 event: RwLock::new(events), in new() 108 pub fn event(&self) -> &RwLock<EPollEvent> { in event() method 109 &self.event in event() 127 let events = events as u32 & self.event.read().events; in ep_item_poll() 384 if ep_item.event.read().events & EPollEventType::EPOLLEXCLUSIVE.bits() != 0 { in do_epoll_ctl() 538 let ep_events = EPollEventType::from_bits_truncate(epitem.event.read().events); in ep_send_events() 547 let event = EPollEvent { in ep_send_events() localVariable 549 data: epitem.event.read().data, in ep_send_events() 571 user_event[res] = event; in ep_send_events() [all …]
|
H A D | syscall.rs | 66 pub fn epoll_ctl(epfd: i32, op: usize, fd: i32, event: VirtAddr) -> Result<usize, SystemError> { in epoll_ctl() 71 if event.is_null() { in epoll_ctl() 78 event.as_ptr::<EPollEvent>(), in epoll_ctl()
|
/DragonOS/kernel/src/net/socket/ |
H A D | mod.rs | 856 let mut event = EPollEventType::empty(); in udp_poll() localVariable 859 event.insert( in udp_poll() 864 event.insert(EPollEventType::EPOLLHUP); in udp_poll() 868 event.insert(EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM); in udp_poll() 872 event.insert( in udp_poll() 882 return event; in udp_poll() 887 let mut event = EPollEventType::empty(); in raw_poll() localVariable 890 event.insert( in raw_poll() 895 event.insert(EPollEventType::EPOLLHUP); in raw_poll() 900 event.insert(EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM); in raw_poll() [all …]
|
/DragonOS/tools/debugging/logmonitor/src/backend/ |
H A D | mod.rs | 9 use crate::{command::CommandLineArgs, event::Event}; 12 pub mod event; module
|
/DragonOS/kernel/src/net/ |
H A D | net_core.rs | 73 let event = binding.get_mut::<dhcpv4::Socket>(dhcp_handle).poll(); in dhcp_query() localVariable 75 match event { in dhcp_query()
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | ntty.rs | 2060 let mut event = EPollEventType::empty(); in poll() localVariable 2062 event.insert(EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM) in poll() 2075 event.insert( in poll() 2084 event.insert(EPollEventType::EPOLLHUP); in poll() 2090 event.insert(EPollEventType::EPOLLOUT | EPollEventType::EPOLLWRNORM); in poll() 2093 Ok(event.bits() as usize) in poll()
|
/DragonOS/docs/kernel/trace/ |
H A D | eBPF.md | 309 // Map helpers::Perf event array helpers
|
/DragonOS/kernel/crates/intertrait/macros/ |
H A D | LICENSE-APACHE | 153 8. Limitation of Liability. In no event and under no legal theory,
|
/DragonOS/kernel/crates/rbpf/ |
H A D | LICENSE-APACHE | 154 8. Limitation of Liability. In no event and under no legal theory,
|
/DragonOS/kernel/src/include/bindings/ |
H A D | linux_bpf.rs | 1205 pub event: bpf_link_info__bindgen_ty_1__bindgen_ty_11__bindgen_ty_1__bindgen_ty_4,
|