BPF Performance Tools-洞悉Linux系统和应用性能


官网

性能命令

Technologies

introduction

Technology Backgroud

Performance Analysis

BCC

bptrace

Using BPF Tools

CPUs

Memory

File Systems

Disk I/O

Networking

background

traditional tools

bpf tools

bpf one-liners

optional exercises

summary

Security

background

bpf tools

bpf one-liners

Languages

background

c

java

bash shell

other languages

summary

Applications

background

bpf tools

bpf one-liners

bpf one-liners examples

summary

Kernel

background

traditional tools

bpf tools

bpf one-liners

bpf one-liners example

challenges

summary

Containers

background

traditional tools

bpf tools

bpf one-liners

optional exercises

summary

hypervisors

background

traditional tools

guest BPF tools

Host BPF tools

Additional Topics

Other BPF Performance Tools

Vector and Performance Co-Pilot(PCP)

Grafana and Performance Co-Pilot

Cloudflare eBPF Prometheus Exporter (with grafana)

kubectl-trace

other tools

summary

Tips, Tricks and Common Problems

Typical Event Frequency and overhead

Sample at 49 or 99 Hertz

Yellow Pigs and Gray Rats

Write Target Software

learn Syscalls

Keep it simple

missing events

missing stacks traces

missing symbols (function names) when printing

missing funcions when tracing

feedback loops

dropped events