BPF binaries: BTF, CO-RE, and the future of BPF perf tools
Brendan Gregg
NOVEMBER 4, 2020
usr/bin/python from bcc import BPF from bcc.utils import printb prog = """ int hello(void *ctx) { bpf_trace_printk("Hello, World!n"); Plus the bpftrace versions can be modified on the fly. libbpf is better suited for more complex and mature tools that needs custom arguments and libraries. and this: # bpftrace -e 'BEGIN { printf("Hello, World!
Let's personalize your content