Loading…
Welcome to Percona Live Online 2021
Online Open Source Database Conference
REGISTER HERE!
Back To Schedule
Thursday, May 13 • 10:00 - 10:30
How to Develop BPF Tools with libbpf + BPF CO-RE

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.


Distributed clusters might encounter performance problems or unpredictable failures, especially when they are running in the cloud. Of all the kinds of failures, kernel failures may be the most difficult to analyze and simulate.

Based on Berkeley Packet Filter (BPF), BCC (BPF Compiler Collection) offers many useful resources to construct effective kernel tracing and manipulation programs but it might cause inconveniences for developers in certain situations. Compared with BCC, libbpf + BPF CO-RE seems a better solution because it greatly reduces storage space and runtime overhead, which enables BPF to support more hardware environments, and it optimizes programmers' development experience.

In this talk, Wenbo Zhang will share his BPF practices on how to develop BPF tools with libbpf + BPF CO-RE. He will introduce the advantages of this development method, how to use this method to develop tools, and some tips and tricks for writing Linux BPF applications with libbpf.

Speakers
avatar for Wenbo Zhang

Wenbo Zhang

R&D, PingCAP
Wenbo Zhang is a PingCAP Development Engineer, focusing on performance analysis and diagnosis of Linux kernel. He talked about BPF for chaos and tracing in Kubernetes at Cloud Native + Open Source Summit China 2020.


Thursday May 13, 2021 10:00 - 10:30 EDT
Room #4