Home
last modified time | relevance | path

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

/DragonOS/kernel/src/perf/
H A Dbpf.rs7 perf_event_header, perf_event_mmap_page, perf_event_type,
64 let perf_event_mmap_page = &mut *(ptr as *mut perf_event_mmap_page); in init() localVariable
65 perf_event_mmap_page.data_offset = PAGE_SIZE as u64; in init()
66 perf_event_mmap_page.data_size = (size - PAGE_SIZE) as u64; in init()
68 perf_event_mmap_page.data_tail = 0; in init()
70 perf_event_mmap_page.data_head = 0; in init()
96 let data_tail = unsafe { &mut (*(self.ptr as *mut perf_event_mmap_page)).data_tail }; in write_event()
97 let data_head = unsafe { &mut (*(self.ptr as *mut perf_event_mmap_page)).data_head }; in write_event()
207 let data_tail = unsafe { &(*(self.ptr as *mut perf_event_mmap_page)).data_tail }; in readable()
208 let data_head = unsafe { &(*(self.ptr as *mut perf_event_mmap_page)).data_head }; in readable()
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs2182 pub struct perf_event_mmap_page { struct