|
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
·
|
|
agenda: IO Visor TSC/Dev Meeting
2 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
·
|
|
[PATCH] Report proper module on kernel backtrace
2 messages
Raghavendra Rao reported that memleak does not display proper name of the related kernel module, but just the "kernel" string, like here for xfs module functions: 131072 bytes in 4 allocations from st
Raghavendra Rao reported that memleak does not display proper name of the related kernel module, but just the "kernel" string, like here for xfs module functions: 131072 bytes in 4 allocations from st
|
By
Jiri Olsa
·
|
|
math between pkt pointer and register with unbounded min value is not allowed
14 messages
#verifier
I'm playing with bcc to prototype an UDP load balancer. I'm facing an issue that I didn't succeed to understand... In my code I tried to validate my UDP packet using code like this : struct udphdr *ud
I'm playing with bcc to prototype an UDP load balancer. I'm facing an issue that I didn't succeed to understand... In my code I tried to validate my UDP packet using code like this : struct udphdr *ud
|
By
Simon
·
|
|
BPF tracing book
G'Day, Many of you already know (and have been helping, thanks) and we've discussed this on the iovisor call before: my book is finally launched properly. Some URLs: http://www.brendangregg.com/blog/2
G'Day, Many of you already know (and have been helping, thanks) and we've discussed this on the iovisor call before: my book is finally launched properly. Some URLs: http://www.brendangregg.com/blog/2
|
By
Brendan Gregg
·
|