Remove BPF
article thumbnail

Tips and Tricks for Writing Linux BPF Applications With libbpf

DZone

At the beginning of 2020, when I used the BCC tools to analyze our database performance bottlenecks, and pulled the code from the GitHub, I accidentally discovered that there was an additional libbpf-tools directory in the BCC project. See Why We Switched from bcc-tools to libbpf-tools for BPF Performance Analysis.).

Database 179
article thumbnail

USENIX LISA2021 BPF Internals (eBPF)

Brendan Gregg

For USENIX LISA2021 I gave a 40 minute deep dive talk on BPF internals for Linux, focusing on observability tracing tools. Since there are already BPF internals references online (listed in this post) I used the opportunity to create some new content, showing how bpftrace instrumentation works from user space down to machine code.

Website 145
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

USENIX LISA2021 BPF Internals (eBPF)

Brendan Gregg

For USENIX LISA2021 I gave a 40 minute deep dive talk on BPF internals for Linux, focusing on observability tracing tools. Since there are already BPF internals references online (listed in this post) I used the opportunity to create some new content, showing how bpftrace instrumentation works from user space down to machine code.

Website 52
article thumbnail

How To Add eBPF Observability To Your Product

Brendan Gregg

There's an arms race to add eBPF (BPF) to commercial observability products, and in this post I'll describe how to quickly do that. People like to show me their BPF observability products after they have prototyped or built them, but I often wish I had given them advice before they started. You might not even like BPF.

Latency 145
article thumbnail

The Return of the Frame Pointers

Brendan Gregg

Apart from library code, maybe your application doesn't have frame pointers either, in which case everything is broken. " I pictured how this is used to walk stack traces in my BPF book. This is exactly what happened on Linux, not just /usr/bin but also /usr/lib and application code!

Java 145
article thumbnail

How To Add eBPF Observability To Your Product

Brendan Gregg

There's an arms race to add [eBPF] (BPF) to commercial observability products, and in this post I'll describe how to quickly do that. People like to show me their BPF observability products after they have prototyped or built them, but I often wish I had given them advice before they started. You might not even like BPF.