Remove BPF
article thumbnail

An Unbelievable Demo

Brendan Gregg

This is the story of the most unbelievable demo I've been given in world of open source. He was kind enough to give me a quick demo anyway. He gave me a path to start looking under, and after a bit of searching I found the directory with all the tools he had been demoing. You can't make this stuff up. I printed socketsnoop.d.

article thumbnail

BPF Theremin, Tetris, and Typewriters

Brendan Gregg

For my AWS re:Invent talk on BPF Performance Analysis at Netflix, I began with a demo of "BPF superpowers" (aka eBPF). The video is on [youtube] and the demo starts at [0:50] (the sildes are on [slideshare]): I'm demonstrating a tool I developed to turn my laptop's wifi signal strength into audio. The source is: #!/usr/local/bin/bpftrace

C++ 102
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

BPF Theremin, Tetris, and Typewriters

Brendan Gregg

For my AWS re:Invent talk on BPF Performance Analysis at Netflix, I began with a demo of "BPF superpowers" (aka eBPF). astype(numpy.int16) sound = pygame.sndarray.make_sound(note[0]) # BPF b = BPF(text=""" #include <uapi/linux/ptrace.h> My [BPF Performance Tools] book has plenty of examples.

C++ 52
article thumbnail

BPF Theremin, Tetris, and Typewriters

Brendan Gregg

For my AWS re:Invent talk on BPF Performance Analysis at Netflix, I began with a demo of "BPF superpowers" (aka eBPF). from __future__ import print_function from bcc import BPF import pygame, numpy, pygame.sndarray # Sound setup sampleRate = 44100 pygame.mixer.pre_init(sampleRate, -16, 1). The source is: #!/usr/local/bin/bpftrace

C++ 52
article thumbnail

An Unbelievable Demo

Brendan Gregg

This is the story of the most unbelievable demo I've been given in world of open source. He was kind enough to give me a quick demo anyway. He gave me a path to start looking under, and after a bit of searching I found the directory with all the tools he had been demoing. You can't make this stuff up. I printed socketsnoop.d.

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

USENIX LISA2021 Computing Performance: On the Horizon

Brendan Gregg

It's an exciting time for developments in computer performance, not just for the BPF technology (which I often [write about]) but also for processors with 3D stacking and cloud vendor CPUs (e.g., In case you are interested, at the same conference I also gave a talk on [BPF Internals]. Clone Disk],” [link] 2020 - [Moore 20] Samuel K.