-
Updated
Oct 11, 2021 - Go
ebpf
Here are 221 public repositories matching this topic...
-
Updated
Oct 11, 2021 - Lua
-
Updated
Oct 11, 2021 - C++
-
Updated
Sep 25, 2021 - Go
-
Updated
Oct 11, 2021 - C++
Add CO-RE example(s)
Since most types can now be CO-RE relocated, it might be time to add some examples of how to do so. This might be useful for a CO-RE showcase in general, not just for exercising the lib itself.
Here's an example of a kprobe using BPF_CORE_READ: https://github.com/markpash/find-bad-middleboxes
-
Updated
Oct 11, 2021
-
Updated
Oct 11, 2021 - Go
At the moment of writing this issue, kubectl trace only supports X86-64 as target architecture.
The tool should be able to schedule bpftrace programs against all the architectures supported by bpftrace, that are X86-64 and arm64 (aarch64) see the Cmake definition.
To achieve that we n
We currently only check for CAP_SYS_ADMIN when running Tracee (https://github.com/aquasecurity/tracee/blob/main/tracee-ebpf/main.go#L885), which was correct for old kernels.
For newer kernels, CAP_SYS_ADMIN was split into combination of 3 other capabilities:
CAP_BPF, CAP_PERFMON and CAP_NET_ADMIN as described in https://lwn.net/Articles/820560/, and https://lwn.net/Articles/822362/
Update check
-
Updated
Sep 29, 2021 - Go
It appears that the RedBPF toolchain imposes currently undocumented restrictions on map value types that go beyond those expressed by the generic constraints:
- All variants of an enum must have the same size in memory.
- Struct fields are (mostly?) required to be aligned to multiples of 32 bits, though sometimes 64-bit alignment is required, and some structs don't work at all despite their fi
-
Updated
Aug 17, 2021 - Go
-
Updated
Oct 9, 2021 - Rust
-
Updated
Sep 7, 2021 - Rust
-
Updated
May 7, 2021 - Shell
Can we get some performance comparison between polycube and using standard linux facilities (NAT, iptables, etc.)?
CPU usage, PPS, latencies, etc.
-
Updated
Feb 19, 2019 - Python
-
Updated
Sep 23, 2021 - C
-
Updated
Feb 18, 2020 - Go
-
Updated
Oct 10, 2021 - C
-
Updated
Feb 24, 2019 - C
-
Updated
Jul 21, 2021 - Go
Improve this page
Add a description, image, and links to the ebpf topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the ebpf topic, visit your repo's landing page and select "manage topics."
Is your feature request related to a problem? Please describe.
I fiddled around with
bpftraceto write internal documentation for my colleagues on how to use it. I chosetracepoint:syscalls:sys_enter_mkdiras a suitable tracepoint for a simple demo, and wrote this code: