Home
last modified time | relevance | path

Searched refs:helper (Results 1 – 6 of 6) sorted by relevance

/DragonOS/docs/kernel/trace/
H A DeBPF.md27 2. 这个步骤中,用户需要合理使用helper函数丰富eBPF程序功能
44 1. 提供eBPF使用的helper函数和Map抽象,方便实现eBPF程序
105 4. helper函数支持
175 /// See https://ebpf-docs.dylanreimerink.nl/linux/helper-function/bpf_map_lookup_elem/
181 /// See https://ebpf-docs.dylanreimerink.nl/linux/helper-function/bpf_map_update_elem/
187 /// See https://ebpf-docs.dylanreimerink.nl/linux/helper-function/bpf_map_delete_elem/
194 /// See https://ebpf-docs.dylanreimerink.nl/linux/helper-function/bpf_for_each_map_elem/
290 ### helper函数支持
292 用户态工具通过系统调用和内核进行通信,完成eBPF数据的设置、交换。在内核中,eBPF程序的运行也需要内核的帮助,单独的eBPF程序并没有什么太大的用处,因此其会调用内核提供的`helper` 函数…
294 目前已经支持的大多数`helper` 函数是与Map操作相关:
[all …]
/DragonOS/kernel/src/bpf/
H A Dmod.rs1 pub mod helper; module
49 helper::init_helper_functions(); in init_bpf_system()
/DragonOS/kernel/src/perf/
H A Dkprobe.rs4 use crate::bpf::helper::BPF_HELPER_FUN_SET;
/DragonOS/kernel/crates/rbpf/
H A DREADME.md95 2. If you want to use some helper functions, register them into the virtual
207 This function is used to register a helper function. The VM stores its
210 therefore must use specific helper numbers.
236 use helper functions, they must be registered into the VM before this function
450 // We register a helper function, that can be called by the program, into
616 * The registration of helper functions, that can be called from within an eBPF
637 register user-defined helper functions. The eBPF implementation of the Linux
/DragonOS/kernel/src/bpf/helper/
H A Dmod.rs4 use crate::bpf::helper::print::trace_printf;
/DragonOS/kernel/crates/rbpf/src/
H A Djit.rs895 if let Some(helper) = helpers.get(&(insn.imm as u32)) { in jit_compile()
898 self.emit_call(mem, *helper as usize); in jit_compile()