Embedded Fest 2021. Steven Rostedt. Dynamic tracing within a busybox environment

Описание к видео Embedded Fest 2021. Steven Rostedt. Dynamic tracing within a busybox environment

The talk from Embedded Fest 2021 ONLINE
Fb:   / embeddedfest  
Website: https://www.embeddedfest.com

eBPF is all the rage. It allows for placing a BPF program into the kernel to trace only specific data that one cares about. But eBPF requires help from user space to extract this data. What does one do if all they have is a busybox environment? Luckily, ftrace provides a tracing interface through the tracefs file system, where most everything can be done via simple commands like "echo" and "cat" (which busybox provides). This talk will go into performing dynamic tracing, similar to what is provided by eBPF, but with only having "echo" and "cat" at your finger tips. Ftrace may not provide everything that eBPF can give you, but it can probably give you enough to get by. Why write a program in C, when you can easily accomplish the same thing in a simple shell script?

Комментарии

Информация по комментариям в разработке