Re: bpf version of this sample
Daniel Borkmann
On 04/13/2016 10:23 PM, Alexei Starovoitov via iovisor-dev wrote:
On Wed, Apr 13, 2016 at 12:43 PM, Hannes Frederic Sowa via iovisor-devActually for network debugging it would be nice if we could classify an skb e.g. from XDP (when passed to stack) or cls_bpf ingress, and tell the kernel that if this particular skb changes e.g. its protocol or priority field, set a breakpoint, so I can debug the issue in relation to it. Means that the setting of breakpoint would be a root-only helper function and the callback it triggers would need to be a new BPF program type that has helpers such as 'throw stack trace' etc, and that can inspect struct members. With the mutex, yeah, it's an issue, maybe it can be worked around ... |
|