/pd-tools

Primary LanguageShellApache License 2.0Apache-2.0

pd-tools

These scripts use traditional Linux utilities to construct some high-level tools for analysis. They are mainly for performance and debugging. Many of them are mimic to Brendan Gregg's BPF tools and perf-tools. But I try to wrap all utilities I need to have the results quickly.

Dependent tools:

perf flamegraph.pl

Tools

"stackcount.sh" collect stacktraces and user-defined metrics, generate a flamegraph

"oncpu.sh" collect stacktraces of sampled functions, generate a flamegraph

"offcpu.sh" collect stacktraces of blocked tasks, generate a flamegraph

"ufaults.sh" collect stacktraces of page faults in user space, generate a flamegraph ...