-
When trying to run tcptop on aarch64, I get the following error:
# /usr/share/bcc/tools/tcptop
bpf: Failed to load program: Permission denied
; struct sock *sk = ctx->regs[0]; int copied = ctx->re…
-
Hi.
I'm still newbie in eBPF/Kernel issues so I'll appreciate your help here.
I run a simple hello-world code in c. This code runs as expected under Ubuntu 18.04.
My task is to create a docker that…
-
I"m able to run other tools like TCPLIFE but i didn't have TCPSYNBL available when i cloned the repo , so i tried to create a file and copy the code from the repo but when i try to run it using
`./tc…
-
kernel 5.1, Can I use bpf_spin_lock in BCC like this:
bpf_spin_lock(&q->lock);
u64 stack_id = stack_traces.get_stackid(ctx, STACK_FLAGS);
bpf_spin_unlock(&…
-
The `ustack` function from `bpftrace`/`bcc` produces symbols that for some reason cannot be parsed by `rustc-demangle`, such as:
```
_ZN100_$LT$tokio_tower..multiplex..server..Server$LT$T$C$S$GT$$u2…
-
The BPF adjustment on radio bring up should be peaked around 6 or 7. Ours is stuck at 0. We've traced signals to the transformer, and that might be our issues, however it looks like we may have been l…
-
Starting with the 6.6 Kernel I get following in journalctl/systemctl status:
```
Okt 30 21:37:21 ptr1337-cachyos systemd[1]: Started BPF-based auto-tuning of system parameters.
Okt 30 21:37:21 pt…
-
Testing with `cat ./test.py ; python3 ./test.py & pid=$! ; sleep 1 ; grep VmRSS /proc/$pid/status ; sleep 60 ; grep VmRSS /proc/$pid/status ; kill $pid ;` we see this output:
```
import gc
from b…
-
**bpf_code:**
```c
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define IP_CSUM_OFF (ETH_HLEN + offsetof(struct iphdr, check))
#define TOS_OF…
-
```python
#!/usr/bin/python
from bcc import BPF
bpf_text = '''
KFUNC_PROBE(security_path_chown, struct path *path)
{
return 0;
}
'''
b = BPF(text=bpf_text)
print("BPF programs load…