feat(plugin): add callstack meta-events to trace if available by fmoessbauer · Pull Request #34 · siemens/bt2-ftrace-to-ctf

If the ftrace contains stacktrace events, these are added to the corresponding (next) event. Co-developed-by: Andre Poljakow [email protected]

GitHub

Looking forward to present about converting #linux #ftrace traces to #CTF at this years #fosdem . Join me in the #kernel #devroom

https://fosdem.org/2026/schedule/event/WJSJZZ-bt2-ftrace-to-ctf/

Kprobes и где они обитают

Про eBPF уже сказано и написано достаточно много, поэтому я хочу сделать следующий шаг и чуть глубже рассмотреть практические аспекты работы c таким механизмом, как kprobe , который позволяет использовать функции ядра Linux для динамического запуска пользовательского кода. Статья поможет ответить на вопросы: - Как понять, какую функцию ядра выбрать для использования с механизмом kprobe? - С чего начать ее поиск? - Какими инструментами пользоваться? kprobe — это, по сути, ловушка, или брейкпоинт, который можно установить почти в любом месте кода ядра Linux.

https://habr.com/ru/companies/pt/articles/972442/

#ebpf #kprobes #linux #linux_kernel #container_security #контейнеризация #tetragon #ftrace #bpftrace #open_source

Kprobes и где они обитают

Содержание О чём эта статья eBPF Что такое kprobe Другие механизмы трассировки, доступные для мониторинга с помощью eBPF Как мы используем kprobe в PT Container Security Рекомендации по поиску функций...

Хабр

Livepatching для ядра Linux на x86 и RISC-V: как это работает

Продолжаем разбираться в работе лайвпатчей для ядра Linux. В примере из первой части этой статьи мы загрузили лайвпатч и он каким-то магическим образом настроил все так, чтобы ядро Linux использовало не свою функцию nf_tproxy_laddr4(), а ее исправленный вариант. Давайте теперь посмотрим, что стоит за этой магией, а после этого разберемся, как все это использовать в продакшене. В этой части статьи будет и несколько вопросов-заданий для читателя. Ответы и подсказки — в конце.

https://habr.com/ru/companies/yadro/articles/930150/

#x86 #linux_kernel #livepatch #riscv #ftrace

Livepatching для ядра Linux на x86 и RISC-V: как это работает

Продолжаем разбираться в работе лайвпатчей для ядра Linux. В примере из первой части этой статьи мы загрузили лайвпатч и он каким-то магическим образом настроил все так, чтобы ядро Linux использовало...

Хабр

While sipping my hot lemon tea 🍋🫖 and looking into it ....again....

#linuxkernel #ftrace #debug #opensource #operatingsystem

While sipping my hot lemon tea 🍋🫖 and looking into it ....again....

#linuxkernel #ftrace #debug #opensource #operatingsystem

I know that strace is dangerous (https://www.brendangregg.com/blog/2014-05-11/strace-wow-much-syscall.html) and that it getting replaced e.g. by perf trace; but hot damn, this tool still manages to surprise me in a good way!

I'd love to be able to do this with "perf" or ftrace, though!

#strace #perf #ftrace #softwareDevelopment

strace Wow Much Syscall

strace Wow Much Syscall

"Better yet, both function graph and the function tracer could possibly use BTF to show all arguments for all functions" https://lpc.events/event/17/contributions/1536/
slides: https://lpc.events/event/17/contributions/1536/attachments/1277/2577/LPC23_%20Function%20parameters%20with%20BTF.pdf from @linuxplumbersconf #linux #linuxkernel #ftrace
Linux Plumbers Conference 2023

The Linux Plumbers Conference (LPC) is a developer conference for the open source community. The LPC brings together the top developers working on the plumbing of Linux - kernel subsystems, core libraries, windowing systems, etc. - and gives them three days to work together on core design problems. The conference is divided into several working sessions focusing on different plumbing topics, as well as a general paper track.

Indico
The best software is the one, where you can't decide if something is a cool or a terribly ugly idea.
https://github.com/namhyung/uftrace
#linux, #ftrace but in userspace, #flamegraphs
GitHub - namhyung/uftrace: Function graph tracer for C/C++/Rust/Python

Function graph tracer for C/C++/Rust/Python. Contribute to namhyung/uftrace development by creating an account on GitHub.

GitHub
Video: Mylène Josserand demystifies the magic behind #Linux kernel #initcalls, in this talk presented at #OSSummit! Learn about their purpose & benefits, how they are implemented, ways to debug and trace them, & more! https://col.la/dlki #kernel #ftrace #developers #coding