Kernel Recipes 2019 - ftrace: Where modifying a running kernel all started

  Рет қаралды 10,349

Kernel Recipes

Kernel Recipes

Күн бұрын

Ftrace’s most powerful feature is the function tracer (and function graph tracer which is built from it). But to have this enabled on production systems, it had to have its overhead be negligible when disabled. As the function tracer uses gcc’s profiling mechanism, which adds a call to “mcount” (or more recently fentry, don’t worry if you don’t know what this is, it will all be explained) at the start of almost all functions, it had to do something about the overhead that causes. The solution was to turn those calls into “nops” (an instruction that the CPU simply ignores). But this was no easy feat. It took a lot to come up with a solution (and also turning a few network cards into bricks). This talk will explain the history of how ftrace came about implementing the function tracer, and brought with it the possibility of static branches and soon static calls!
Steven Rostedt

Пікірлер
Kernel Recipes 2023 - Evolving ftrace on arm64
41:29
Kernel Recipes
Рет қаралды 428
Kernel Recipes 2017 - Perf in Netflix - Brendan Gregg
51:06
Kernel Recipes
Рет қаралды 27 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Kernel Recipes 2019 - Faster IO through io_uring
38:39
Kernel Recipes
Рет қаралды 19 М.
See what your computer is doing with Ftrace utilities
1:31:06
linux.conf.au
Рет қаралды 30 М.
Steven Rostedt - Learning the Linux Kernel with tracing
1:07:25
OpenFest Bulgaria
Рет қаралды 98 М.
Kernel Recipes 2015 - Linux kernel IO subsystem - by Jan Kara
33:32
Kernel Recipes
Рет қаралды 10 М.
eBPF Superpowers
42:19
Docker
Рет қаралды 19 М.
"Performance Matters" by Emery Berger
42:15
Strange Loop Conference
Рет қаралды 486 М.
Kernel Recipes 2022 - Ftrace update
50:02
Kernel Recipes
Рет қаралды 762
LISA19 - Linux Systems Performance
40:38
USENIX
Рет қаралды 25 М.
Kernel Recipes 2024 - Making the kernel suck less!
55:33
Kernel Recipes
Рет қаралды 677
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН