-
Hi team. As the title says, in C code we can create bpf maps by using the `bpf_create_map` helper.
Can't the same thing be done with bcc? (Judging from reference_guide.md, we can't)
My usecase …
-
Create a second daemon, and move all of the eBPF functionality into it. The daemon would sit idle, responding to signals. On start, it loads the eBPF setup - and when finished it closes it.
This wo…
-
https://github.com/dthaler/ebpf-docs/blob/update/isa/kernel.org/instruction-set.rst#jump-instructions
https://github.com/dthaler/ebpf-docs/blob/update/isa/kernel.org/instruction-set.rst#ebpf-function…
-
When calculating the binary logarithm of a 64-bit integer `bpf_log2l` helper [adds 1](https://github.com/iovisor/bcc/blob/ddd5dd5ee32226d07c9632a2ff8cf6f1e713dff5/src/cc/export/helpers.h#L454) to the …
-
Hello,
There is an overflow in the conversion from string to leaf. The following code shows the problem:
```
#include
#include
const std::string BPF_PROGRAM1 = R"(
BPF_TABLE("array", int, …
-
Discovered when trying to use to print a string literal:
```
from bcc import BPF
prog="""
#include
int read_entry(struct pt_regs *ctx)
{
bpf_trace_printk("name: %s", "a");
…
-
## CVE-2024-26591 - Medium Severity Vulnerability
Vulnerable Library - linuxlinux-4.6
The Linux Kernel
Library home page: https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/?wsslib=linux
Found i…
-
The libpf tool memleak fails to build on powerpc 64 with the following error:
```
BPF memleak.bpf.o
memleak.bpf.c:377:23: error: no member named 'bytes_alloc' in 'struct trace_event_raw_perc…
-
At the moment the only way to configure ebpf befaviour is build options. There are several cases where start time configuration is more suitable:
- local N3 ip address (is configured via FAR map cu…
-
[root@localhost packet03-redirecting]# make
...
[root@localhost packet03-redirecting]# t exec -n left -- ./xdp_loader -d veth0 -F --progsec xdp_pass
libbpf: Error in bpf_object__probe_name():Operat…