perf favicon

perf

perf is a performance analyzing tool in Linux, available from Linux kernel version 2.6.31 under tools/perf, and is frequently updated and enhanced. It is capable of lightweight profiling, supports hardware performance counters, tracepoints, software performance counters (e.g. hrtimer), and dynamic probes (for example, kprobes or uprobes).

The output from perf can be used to generate flame graphs. perf is sometimes referred to as "Performance Counters for Linux (PCL)," "Linux perf events (LPE)," "perf_events," or "Perf Tools."

strace

strace

strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between pr ...