Searched refs:define_func (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/bpf/helper/ |
H A D | mod.rs | 15 macro_rules! define_func { macro 311 map.insert(HELPER_MAP_LOOKUP_ELEM, define_func!(raw_map_lookup_elem)); in init_helper_functions() 312 map.insert(HELPER_MAP_UPDATE_ELEM, define_func!(raw_map_update_elem)); in init_helper_functions() 313 map.insert(HELPER_MAP_DELETE_ELEM, define_func!(raw_map_delete_elem)); in init_helper_functions() 316 define_func!(raw_map_for_each_elem), in init_helper_functions() 320 define_func!(raw_map_lookup_percpu_elem), in init_helper_functions() 327 define_func!(raw_perf_event_output), in init_helper_functions() 330 map.insert(HELPER_BPF_PROBE_READ, define_func!(raw_bpf_probe_read)); in init_helper_functions() 332 map.insert(HELPER_TRACE_PRINTF, define_func!(trace_printf)); in init_helper_functions() 335 map.insert(HELPER_MAP_PUSH_ELEM, define_func!(raw_map_push_elem)); in init_helper_functions() [all …]
|
/DragonOS/docs/kernel/trace/ |
H A D | eBPF.md | 302 map.insert(1, define_func!(raw_map_lookup_elem)); 303 map.insert(2, define_func!(raw_map_update_elem)); 304 map.insert(3, define_func!(raw_map_delete_elem)); 305 map.insert(164, define_func!(raw_map_for_each_elem)); 306 map.insert(195, define_func!(raw_map_lookup_percpu_elem)); 307 // map.insert(93,define_func!(raw_bpf_spin_lock); 308 // map.insert(94,define_func!(raw_bpf_spin_unlock); 310 map.insert(25, define_func!(raw_perf_event_output)); 312 map.insert(4, define_func!(raw_bpf_probe_read)); 314 map.insert(6, define_func!(trace_printf)); [all …]
|