|
bpf_probe_read and pagefaults
2 messages
I'm curios to know how bpf_probe_read is able to read user-mode memory in the face of page faulting. I know in the helper it disables page faulting, but what does that mean? If the memory the probe is
I'm curios to know how bpf_probe_read is able to read user-mode memory in the face of page faulting. I know in the helper it disables page faulting, but what does that mean? If the memory the probe is
|
By
Hayden Livingston
·
|
|
Why is BPF_PERF_OUTPUT max_entries set to total processor count?
4 messages
I'm very confused why BCC creates a map of number of processors for the perf_events output map. I can imagine it being 1 since all it does is act as a kernel-user mode intermediary and it is true that
I'm very confused why BCC creates a map of number of processors for the perf_events output map. I can imagine it being 1 since all it does is act as a kernel-user mode intermediary and it is true that
|
By
Hayden Livingston
·
|
|
ebpf Tool to collect latency on all IP connections through a Linux router
Hello, I was looking for a tool to collect latency on all IP connections through a linux router. We do have eBPF tools setup on the box. I am looking for something similar to tcpconnlat but need to ca
Hello, I was looking for a tool to collect latency on all IP connections through a linux router. We do have eBPF tools setup on the box. I am looking for something similar to tcpconnlat but need to ca
|
By
vignesh_ramamurthy@...
·
|
|
Is there an API to get the process command line?
3 messages
Hi all, bcc monitoring tools which print a process being traced print only the command (and pid, ppid) without the full args. In many cases the monitored command is a script, so the command is just pr
Hi all, bcc monitoring tools which print a process being traced print only the command (and pid, ppid) without the full args. In many cases the monitored command is a script, so the command is just pr
|
By
Ganesan Rajagopal
·
|
|
Limiting string key size (with str() ??)
Hi all, I'm trying to trace zfs reads and writes and collect statistics for different pools using the pool name. Here is a simplified version that just has a call count. kprobe:zfs_read,kprobe:zfs_wri
Hi all, I'm trying to trace zfs reads and writes and collect statistics for different pools using the pool name. Here is a simplified version that just has a call count. kprobe:zfs_read,kprobe:zfs_wri
|
By
brad.lewis@...
·
|
|
[bpftrace] Another release?
4 messages
I was thinking about a 0.9.3 release and I noticed we had https://github.com/iovisor/bpftrace/milestone/6 but it appears neglected. Any thoughts on punting those issues and cutting a release now anywa
I was thinking about a 0.9.3 release and I noticed we had https://github.com/iovisor/bpftrace/milestone/6 but it appears neglected. Any thoughts on punting those issues and cutting a release now anywa
|
By
Daniel Xu
·
|
|
libbpf-devel rpm uapi headers
I think it may break a bunch of people who rely on bcc being a single library. What is the main motiviation to use libbpf as a shared library in libbcc? I think we can have both options. libbpf as git
I think it may break a bunch of people who rely on bcc being a single library. What is the main motiviation to use libbpf as a shared library in libbcc? I think we can have both options. libbpf as git
|
By
Alexei Starovoitov
·
|
|
Headers Parsing with fields of variable length
3 messages
Hi all, I am trying to create a header for the DNS protocol and parse DNS queries however I cannot parse headers with variable size e.g. the domain name (due to looping constraints of XDP). Is there a
Hi all, I am trying to create a header for the DNS protocol and parse DNS queries however I cannot parse headers with variable size e.g. the domain name (due to looping constraints of XDP). Is there a
|
By
mdimolianis@...
·
|
|
Performance with sockhash in istio/k8s
Cilium has an idea to accelerate packet forward performance using sockops & sockhash when using istio service mesh, the code is here. But this function is heavily coupling with cilium codebase so I wo
Cilium has an idea to accelerate packet forward performance using sockops & sockhash when using istio service mesh, the code is here. But this function is heavily coupling with cilium codebase so I wo
|
By
Forrest Chen
·
|
|
Build error on current Amazon Linux 2
2 messages
Before I started to make a small change to bcc, I thought that I ought to verify that 'master' would actually build -- I'm running on Amazon Linux 2 AMI (HVM), SSD Volume Type - ami-0b69ea66ff7391e80.
Before I started to make a small change to bcc, I thought that I ought to verify that 'master' would actually build -- I'm running on Amazon Linux 2 AMI (HVM), SSD Volume Type - ami-0b69ea66ff7391e80.
|
By
pjsg-iovisor@...
·
|
|
[agenda] IO Visor TSC/Dev Meeting
2 messages
Hi, All, Brenden is on vacation this week. So I am sending out the notice. Does anybody have any agenda to discuss on our pre-schedule 30min meeting on Sept 4, 11:00am - 11:30am? If you do, please rep
Hi, All, Brenden is on vacation this week. So I am sending out the notice. Does anybody have any agenda to discuss on our pre-schedule 30min meeting on Sept 4, 11:00am - 11:30am? If you do, please rep
|
By
Yonghong Song
·
|
|
CPU Concurrency Issues
9 messages
Hi all, I'm trying to verify that there are no concurrency issues with an approach I'm using cpu_id as a key to a HASH_MAP. My understanding is that bcc disables preemption but the details are fuzzy a
Hi all, I'm trying to verify that there are no concurrency issues with an approach I'm using cpu_id as a key to a HASH_MAP. My understanding is that bcc disables preemption but the details are fuzzy a
|
By
brad.lewis@...
·
|
|
agenda: IO Visor TSC/Dev Meeting
Hi All, We have the bi-weekly phone conference scheduled for two days from now, does anybody have a discussion topic to add to the agenda? As a reminder, we are planning to hold the meeting only if ag
Hi All, We have the bi-weekly phone conference scheduled for two days from now, does anybody have a discussion topic to add to the agenda? As a reminder, we are planning to hold the meeting only if ag
|
By
Brenden Blanco
·
|
|
agenda: IO Visor TSC/Dev Meeting
5 messages
Hi All, We have the bi-weekly phone conference scheduled for two days from now, does anybody have a discussion topic to add to the agenda? As a reminder, we are planning to hold the meeting only if ag
Hi All, We have the bi-weekly phone conference scheduled for two days from now, does anybody have a discussion topic to add to the agenda? As a reminder, we are planning to hold the meeting only if ag
|
By
Brenden Blanco
·
|
|
Does bpf_redirect_map support redirect packet to bridge device or veth which master is a bridge?
Hi all, I attach an XDP prog(SKB mode) to host net device(enp0s9) and the prog will redirect packet to veth device. If there's only veth device, I can redirect packet into netns through veth device in
Hi all, I attach an XDP prog(SKB mode) to host net device(enp0s9) and the prog will redirect packet to veth device. If there's only veth device, I can redirect packet into netns through veth device in
|
By
Forrest Chen
·
|
|
sockmap redirect doesn't work all the time
5 messages
Hi all, Recently I've been testing with ebpf sockmap. I know that after setting the sock fd in sockmap, the data send to this socket can redirect to another socket that register in the sockmap. I rewr
Hi all, Recently I've been testing with ebpf sockmap. I know that after setting the sock fd in sockmap, the data send to this socket can redirect to another socket that register in the sockmap. I rewr
|
By
Forrest Chen
·
|
|
[PATCHv5 RFC 1/3] BPF: New helper to obtainnamespace data from current task.
2 messages
Hi Yonghong, I had time yesterday to finish the code to avoid using getname_kernel , self-tests run ok with expected results. Here is the current code to avoid the getname_kernel call. diff --git a/ke
Hi Yonghong, I had time yesterday to finish the code to avoid using getname_kernel , self-tests run ok with expected results. Here is the current code to avoid the getname_kernel call. diff --git a/ke
|
By
neirac
·
|
|
[PATCHv5 RFC 1/3] BPF: New helper to obtain namespace data from current task.
16 messages
As a bpf program cannot sleep, I needed to add a spinlock to kern_path, as it calls getname_kernel() which may sleep. The inode is accessed directly, as we are just interested in the inode's s_dev. Le
As a bpf program cannot sleep, I needed to add a spinlock to kern_path, as it calls getname_kernel() which may sleep. The inode is accessed directly, as we are just interested in the inode's s_dev. Le
|
By
neirac
·
|
|
AF_XDP query
3 messages
Hi, Is it possible to have 2 processes each with its own AF_XDP socket and its own UMEM? Thanks, Kanthi
Hi, Is it possible to have 2 processes each with its own AF_XDP socket and its own UMEM? Thanks, Kanthi
|
By
Kanthi P
·
|
|
the size of BPF_MAP_TYPE_PERCPU_ARRAY doesn't match the number of CPU
5 messages
Hi all, I define a BPF_MAP_TYPE_PERCPU_ARRAY and use it to count packets in the xdp program. When I read the map from userspace program, I find that the entry number doesn't match local CPU numbers. I
Hi all, I define a BPF_MAP_TYPE_PERCPU_ARRAY and use it to count packets in the xdp program. When I read the map from userspace program, I find that the entry number doesn't match local CPU numbers. I
|
By
Forrest Chen
·
|