EBPF: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
eBPF supports its own BTF debugging information, a simplified form of [[DWARF]]. | eBPF supports its own BTF debugging information, a simplified form of [[DWARF]]. | ||
==bpftool== | ==Tools== | ||
===bpftool=== | |||
<tt>bpftool</tt> can be built in <tt>tools/bpf</tt> of the installed kernel's source. | <tt>bpftool</tt> can be built in <tt>tools/bpf</tt> of the installed kernel's source. | ||
===bpftrace=== | |||
<tt>bpftrace</tt> provides a terse DSL that looks an awful lot like awk, allowing simple eBPF programs to be instantiated and attached directly from the command line. | |||
==Compiling eBPF== | ==Compiling eBPF== | ||