BPF: Tracing and More

  Рет қаралды 40,012

linux conf au 2017 - Hobart, Australia

linux conf au 2017 - Hobart, Australia

Күн бұрын

Пікірлер: 22
@cupajoesir
@cupajoesir 7 жыл бұрын
I love dense material like this. Each time you watch it you notice something you didn't before. Notice I said dense, not sparse. Too many of the few talks cover advanced topics do it in a way that does not connect the series of ideas. Well done & thanks for posting.
@DavidMedberry
@DavidMedberry 8 жыл бұрын
Great talk. Timely, important, and 99.99 on a geek scale.
@NoobTube4148
@NoobTube4148 8 жыл бұрын
This is brilliant. I didn't know you could do stuff like this. Being able to access the kernel with minimal over head on running systems, makes this ideal for troubleshooting on production. This is very cool.
@nagmatnazarov1759
@nagmatnazarov1759 5 жыл бұрын
very informative talk, thanks. Have watched this video more than 20 times and each time understood some more stuff...
@RogerBarraud
@RogerBarraud 4 жыл бұрын
03:22 I think you forgot the 'Amplification' box on the LHS... :-/
@iqrar318
@iqrar318 5 жыл бұрын
Nice talk! sir how we can use it for power consumption estimation ?
@coliniking
@coliniking 8 жыл бұрын
BCC is now available as snap, wiki.ubuntu.com/Kernel/Reference/bcc
@PoeticMachineDreams
@PoeticMachineDreams 7 жыл бұрын
1:54 What architecture is that?
@RogerBarraud
@RogerBarraud 4 жыл бұрын
BPF VM in Linux kernel, on whatever ISA Linux is running on.
@pronounjow
@pronounjow 8 жыл бұрын
I'm not sure that I understand correctly. Is BPF a way to safely issue instructions from user space to kernel space? Is it a way to safely run some part of a user space program in kernel space? Is it a performance tracer? Is it something to build and/or base performance tracers on?
@BrendanGregg
@BrendanGregg 8 жыл бұрын
All of the above, and more. Except the instructions you issue are BPF instructions (its own basic instruction set) -- which are executed by an in-kernel virtual machine that maps them to native instructions (x86_64, etc). That virtual machine provides various security safeguards, so it's preferable to writing a kernel module. It can be used for performance tracers, but also security monitors, and software defined network programs. Lots of uses. So far I've mostly used BPF for performance tracers.
@pronounjow
@pronounjow 8 жыл бұрын
So BPF could be used instead of dedicated kernel modules like drivers in the kernel? That could really slim down the kernel's footprint, I imagine.
@BrendanGregg
@BrendanGregg 8 жыл бұрын
In some cases, yes. The actions a BPF program can do are limited, and while enough for things like observability or redirecting packets, it's unlikely to ever be enough for a full device driver. But yes, the question will be asked in the future whenever someone is proposing writing a kernel module will be -- can this just be a BPF program?
@sinkarharshad
@sinkarharshad 7 жыл бұрын
Hello Sir, can you point such example where a BPF program can work as kernel driver? (beginner here). Thank you in advance.
@RogerBarraud
@RogerBarraud 4 жыл бұрын
Remember, There Is No Flame...
@joshuadfranklin
@joshuadfranklin 8 жыл бұрын
FYI, pony characters who have both a unicorn horn and Pegasus wings are called Alicorns.
@SarfarazAhmad89
@SarfarazAhmad89 8 жыл бұрын
attack surface ?
@RogerBarraud
@RogerBarraud 4 жыл бұрын
SSsssssshhh!!!11! :-/
@RogerBarraud
@RogerBarraud 4 жыл бұрын
04:00 There's thing we used to used, called 'Hardware'...
@cutyboi8630
@cutyboi8630 4 жыл бұрын
they are great but using macos seems weird lol
@bahaduroroan7471
@bahaduroroan7471 3 жыл бұрын
Bpatl
@BarbaraYoung-n5q
@BarbaraYoung-n5q 3 ай бұрын
White Anthony Perez Michael Taylor Jeffrey
Velocity 2017: Performance Analysis Superpowers with Linux eBPF
43:51
eBPF - Rethinking the Linux Kernel
51:48
InfoQ
Рет қаралды 29 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
Kernel Recipes 2017 - Perf in Netflix - Brendan Gregg
51:06
Kernel Recipes
Рет қаралды 28 М.
Rewriting MMU for fun and profit
46:23
linux conf au 2017 - Hobart, Australia
Рет қаралды 5 М.
The Vulkan Graphics API - what it means for Linux
47:00
linux conf au 2017 - Hobart, Australia
Рет қаралды 33 М.
SREcon16 - Performance Checklists for SREs
1:01:29
USENIX
Рет қаралды 22 М.
2017 High-performance Linux monitoring with eBPF
24:38
All Systems Go!
Рет қаралды 8 М.
eBPF Superpowers
42:19
Docker
Рет қаралды 19 М.
Clean Code - Uncle Bob / Lesson 2
1:06:01
UnityCoin
Рет қаралды 517 М.
35C3 -  Kernel Tracing With eBPF
54:08
media.ccc.de
Рет қаралды 12 М.
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 153 М.