Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Latest commit

 

History

History
48 lines (30 loc) · 1.36 KB

readme.md

File metadata and controls

48 lines (30 loc) · 1.36 KB

All-Out Programmability in Linux with BPF

A presentation about BPF, with a focus on the Linux tracing aspects, made at Sqreen offices in May 2019.

Slides

Slides for the presentation

Workshop

Set Up

This workshop was prepared on a machine running Ubuntu 18.04 server edition (kernel 4.15). It should work on other distributions as well. A recent kernel is required (4.15 works, a few versions before that may work, but it is recommended to use the newest kernel available).

If you do not have access to a suitable machine, a virtual image is made available for duration of the workshop, see vm.md.

Installing the Tools

This workshop revolves around three tools:

  • bpftool
  • bcc
  • bpftrace

The first step consists in installing them. Please refer to quick_install.md for instructions.

The provided VM already has all three tools installed.

Exercises

Note that most of the work will require admin privileges. If in a suitable environment, you may want to work as root.