BPF

BPF

  • Docs
  • API
  • Blog

›Recent Posts

Recent Posts

  • HOWTO: BCC to libbpf conversion
  • BPF Portability and CO-RE
  • Enhancing the Linux kernel with BTF type information
  • Welcome to the BPF Blog
  • Lifetime of BPF objects

HOWTO: BCC to libbpf conversion

February 20, 2020

Andrii Nakryiko

Andrii Nakryiko

A practical guide to converting your BCC-based BPF application to libbpf + BPF CO-RE.

Read More

BPF Portability and CO-RE

February 19, 2020

Andrii Nakryiko

Andrii Nakryiko

What does portability mean in BPF context? What are the challenges of writing portable BPF programs that developers need to deal with? This post will describe BPF portability problem and how BPF CO-RE (Compile Once – Run Everywhere) is helping to address this problem.

Read More

Enhancing the Linux kernel with BTF type information

November 14, 2018

Andrii Nakryiko

Andrii Nakryiko

TL;DR: There is work in progress to bring compact debug type information into the kernel, which will be leveraged by BPF to get it to the next level in terms of developer experience and capabilities. We developed an algorithm that compresses 124MB of DWARF type data into just 1.5MB of compact BTF type data, making it suitable to be included in the Linux kernel image by default.

Read More

Welcome to the BPF Blog

August 31, 2018

Alexei Starovoitov

Alexei Starovoitov

Hi, and welcome to the BPF blog! We'll be adding articles here from time to time covering new developments in BPF, and filling in some existing details about BPF you might not be aware of.

Lifetime of BPF objects

August 31, 2018

Alexei Starovoitov

Alexei Starovoitov

The BPF verifier guarantees that program itself is safe for the kernel to execute, but in order to use BPF as a whole safely and surprise free the users need to understand the lifetime of BPF programs and maps. This post covers these details in depth.

Read More
Facebook Open Source
Copyright © 2021 Facebook Inc.