|
Tracing malloc/free calls in a Kubernetes Pod
Replying here again for the record since you posted the same question on the k8s slack. Kubectl trace replaces $container_pid so you can access the pid folder in the host proc. it’s not specific only
Replying here again for the record since you posted the same question on the k8s slack. Kubectl trace replaces $container_pid so you can access the pid folder in the host proc. it’s not specific only
|
By
Lorenzo Fontana
·
|
|
Error loading xdp program that worked with bpf_load
4 messages
(Cross-posting to iovisor-dev) Seeking input from BPF-llvm developers. How come Clang/LLVM 10+ is generating incompatible BTF-info in ELF file, and downgrading to LLVM-9 fixes the issue ? -- Best rega
(Cross-posting to iovisor-dev) Seeking input from BPF-llvm developers. How come Clang/LLVM 10+ is generating incompatible BTF-info in ELF file, and downgrading to LLVM-9 fixes the issue ? -- Best rega
|
By
Jesper Dangaard Brouer
·
|
|
LPM Trie methods not available in user space program (python)
Hello all, I am trying to retrieve the keys of an LPM Trie in my user space program (similar to https://github.com/iovisor/bcc/blob/master/examples/networking/xdp/xdp_macswap_count.py) however, I am a
Hello all, I am trying to retrieve the keys of an LPM Trie in my user space program (similar to https://github.com/iovisor/bcc/blob/master/examples/networking/xdp/xdp_macswap_count.py) however, I am a
|
By
mdimolianis@...
·
|
|
USDT probe to trace based on path to binary
2 messages
Hello, I am trying to introduce USDT probe to an application and my bcc script is failing with following error: <snip> Traceback (most recent call last): File "test.py", line 40, in <module> b = BPF(t
Hello, I am trying to introduce USDT probe to an application and my bcc script is failing with following error: <snip> Traceback (most recent call last): File "test.py", line 40, in <module> b = BPF(t
|
By
Vallish Guru.V.
·
|
|
Building BPF programs and kernel persistence
4 messages
Hi all, hope everyone is staying healthy out there. I've been working on building BPF programs, and have run into a few issues that I think might be clang (vs gcc) based. It seems that either clang is
Hi all, hope everyone is staying healthy out there. I've been working on building BPF programs, and have run into a few issues that I think might be clang (vs gcc) based. It seems that either clang is
|
By
Tristan Mayfield
·
|
|
eBPF map - Control and Data plane concurrency
4 messages
#bcc
Hi everybody, I am writing this email to ask for an opinion about how to address the following problem. Lately, I have been trying to develop an eBPF program that extracts some per-flow values and sto
Hi everybody, I am writing this email to ask for an opinion about how to address the following problem. Lately, I have been trying to develop an eBPF program that extracts some per-flow values and sto
|
By
Simone Magnani
·
|
|
#bcc - skb_network_header crashes in a BPF Kernel trace function
3 messages
#bcc
Hello - I am looking to trace ip_forward_finish. The intent is to trace latency of all TCP connections going through a linux based gateway router. Hence thought of tracing ip_forward_finish kernel fun
Hello - I am looking to trace ip_forward_finish. The intent is to trace latency of all TCP connections going through a linux based gateway router. Hence thought of tracing ip_forward_finish kernel fun
|
By
vigs.prof@...
·
|
|
Seeking candidates for PhD position related to XDP/eBPF
Hi Potential PhD student, Reminder: Application deadline 15.May 2020 is really soon for our PhD position located in Sweden, at Karlstads University. See: "PhD position in Computer Science, programmabl
Hi Potential PhD student, Reminder: Application deadline 15.May 2020 is really soon for our PhD position located in Sweden, at Karlstads University. See: "PhD position in Computer Science, programmabl
|
By
Jesper Dangaard Brouer
·
|
|
Extracting data from tracepoints (and anything else)
12 messages
I've been exploring the libbpf library for different versions of the Linux kernel, and trying to rewrite some of the BCC tools. I would like to do more work with CO-RE eventually, but I'm trying to un
I've been exploring the libbpf library for different versions of the Linux kernel, and trying to rewrite some of the BCC tools. I would like to do more work with CO-RE eventually, but I'm trying to un
|
By
Tristan Mayfield
·
|
|
Array brace-enclosed initialization
2 messages
Hello everybody, in my XDP eBPF program I'm trying to initialize an array with a brace-enclosed list, however my code is rejected by the verifier. Here is a simple piece of code to replicate the probl
Hello everybody, in my XDP eBPF program I'm trying to initialize an array with a brace-enclosed list, however my code is rejected by the verifier. Here is a simple piece of code to replicate the probl
|
By
Federico Parola
·
|
|
Study on annotation of design and implementation choices, and of technical debt
Dear all, As software engineering research teams at the University of Sannio (Italy) and Eindhoven University of Technology (The Netherlands) we are interested in investigating the protocol used by de
Dear all, As software engineering research teams at the University of Sannio (Italy) and Eindhoven University of Technology (The Netherlands) we are interested in investigating the protocol used by de
|
By
a.serebrenik@...
·
|
|
is BCC tools safe to enable root privilegies in production?
3 messages
Hi all! I am curious about whether it is safe to enable root access to BCC scripts on production machines. In my company, each team has access to their instances via ssh, and we are thinking to allow
Hi all! I am curious about whether it is safe to enable root access to BCC scripts on production machines. In my company, each team has access to their instances via ssh, and we are thinking to allow
|
By
Cristian Spinetta
·
|
|
clang 10 for BPF CO-RE
3 messages
Hi all, Finally found the BPF blog and it's been nice to get more information on using libbpf directly since I don't have a lot of systems or kernel experience. Scanning through the "BCC to libbpf" po
Hi all, Finally found the BPF blog and it's been nice to get more information on using libbpf directly since I don't have a lot of systems or kernel experience. Scanning through the "BCC to libbpf" po
|
By
Tristan Mayfield
·
|
|
Getting function's address from BPF_TRACE_FENTRY BPF program
3 messages
Hello, Is there any way to get the address of the function in fentry type programs like kprobe type programs does by PT_REGS_IP(pt_regs)? I'd like to migrate my kprobe based tool[1] to fentry based on
Hello, Is there any way to get the address of the function in fentry type programs like kprobe type programs does by PT_REGS_IP(pt_regs)? I'd like to migrate my kprobe based tool[1] to fentry based on
|
By
Yutaro Hayakawa
·
|
|
why bpf output wakeup_events and sample_period is 1?
wakeup_events and sample_period is set to 1. what is the reason for this? Isn't it better if this number is higher so the polling doesn't happen all the time? what is "sample_period" if wakeup_events
wakeup_events and sample_period is set to 1. what is the reason for this? Isn't it better if this number is higher so the polling doesn't happen all the time? what is "sample_period" if wakeup_events
|
By
Hayden Livingston
·
|
|
BCC integration into Buildroot
3 messages
Hi, I've been doing some Linux debugging since one year, and I've used BCC to solve multiple issues (like writting a ddos detector : https://github.com/iovisor/bcc/blob/master/examples/tracing/dddos.p
Hi, I've been doing some Linux debugging since one year, and I've used BCC to solve multiple issues (like writting a ddos detector : https://github.com/iovisor/bcc/blob/master/examples/tracing/dddos.p
|
By
Jugurtha BELKALEM
·
|
|
Bcc for Android
2 messages
#bcc
#android
Does bcc have an adaptation plan for the Android platform?
Does bcc have an adaptation plan for the Android platform?
|
By
Mingo
·
|
|
Run CO-RE version's runqslower failed
3 messages
I tried to run CO-RE version's runqslower failed, the error info: ENV With gdb's help, I found the `btf__find_by_name_kind` return -ENOENT. I printed all name: https://transfer.sh/ANKNs/log ( https://
I tried to run CO-RE version's runqslower failed, the error info: ENV With gdb's help, I found the `btf__find_by_name_kind` return -ENOENT. I printed all name: https://transfer.sh/ANKNs/log ( https://
|
By
ethercflow@...
·
|
|
Confused about wakeup watermark vs sample period when attaching to BPF program
Please correct me if I'm wrong about anything. When a perf_event is attached to a BPF program and the BPF program is going to do processing and then output what is the significant of wakeup_events or
Please correct me if I'm wrong about anything. When a perf_event is attached to a BPF program and the BPF program is going to do processing and then output what is the significant of wakeup_events or
|
By
Hayden Livingston
·
|
|
Can multiple BPF programs use same per-cpu perf ring buffer?
2 messages
Imagine I have a per-cpu perf ring buffer for all my cpus. Now I have two eBPF programs. In both these eBPF programs I do bpf_update_elem(myFD, &cpunumberkey, &fdOfCPUspecificBuffer, BPF_ANY) Will thi
Imagine I have a per-cpu perf ring buffer for all my cpus. Now I have two eBPF programs. In both these eBPF programs I do bpf_update_elem(myFD, &cpunumberkey, &fdOfCPUspecificBuffer, BPF_ANY) Will thi
|
By
Hayden Livingston
·
|