💾 Archived View for freeshell.de › tldr › bpftrace.gmi captured on 2023-07-10 at 14:11:22. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
High-level tracing language for Linux eBPF.
bpftrace -V
sudo bpftrace -l
sudo bpftrace -e '{tracepoint:raw_syscalls:sys_enter { @[comm] = count(); }}'
sudo bpftrace {path/to/file}
sudo bpftrace -e '{tracepoint:raw_syscalls:sys_enter /pid == 123/ { @[comm] = count(); }}'
sudo bpftrace -d -e '{one_line_program}'
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).