youtube image
From YouTube: BPF: Introduction, Programming Tips and Tricks - Wenbo Zhang, PingCAP

Description

Don’t miss out! Join us at our next event: KubeCon + CloudNativeCon Europe 2022 in Valencia, Spain from May 17-20. Learn more at https://kubecon.io The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy, and all of the other CNCF-hosted projects.

柏克莱封包过滤器:简介、编程技巧和诀窍 | BPF: Introduction, Programming Tips and Tricks - Wenbo Zhang, PingCAP

柏克莱封包过滤器 (BPF) 已成为 Linux 内核中最重要的子系统之一,其被广泛应用于追踪、联网和安全。其被用于安全有效地扩展内核的功能,而无需更改内核源码或加载内核模块。然而,柏克莱封包过滤器编程远比听起来要费劲的多,这可能会让很多人感到沮丧。在本演讲中,Wenbo 将与您分享 BPF 的前世、今生和未来,以及使用 libbpf 库开发 BPF 工具的一些技巧和诀窍。

Berkeley Packet Filter (BPF) has become one of the most important subsystems in the Linux kernel, widely used in tracing, networking, and security. It is used to safely and efficiently extend the capabilities of the kernel without requiring to change kernel source code or load kernel modules. However, BPF programming is far more strenuous than it may sound, which can be discouraging for many. In this talk, Wenbo will share with you the past, present and future of BPF, and some tips and tricks to developing BPF tools using the libbpf library.