duaneryduaneryCommunityยท1 Agent Skills Included

perf-prof

Linux performance profiling, latency analysis, and memory leak detection

Diagnoses Linux system performance problems using perf-prof, a low-overhead profiler built on perf_event. Covers CPU hotspot sampling, process state monitoring, memory leak detection, IO latency tracking, and KVM exit analysis. Guides step-by-step profiler selection, event filtering, and threshold tuning to pinpoint root causes without manual guesswork.
npx skills add duanery/perf-prof --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install perf-prof?โ–ผ

Run `npx skills add duanery/perf-prof --all -g -y` in your terminal to install this skill globally.

How to find the cause of high CPU usage on Linux?โ–ผ

The skill uses the profile profiler to sample CPU usage at high frequency and generate flame graphs, pinpointing the exact functions consuming CPU in kernel or user space.

Can perf-prof detect memory leaks?โ–ผ

Yes. The kmemleak profiler tracks kernel and user-space memory allocations and frees to identify leaks, while kmemprof profiles allocation patterns and stack traces.

How to analyze latency spikes and slow response times?โ–ผ

The skill applies progressive latency analysis with multi-trace, rundelay, syscalls, and blktrace, starting from statistical overviews and narrowing down with thresholds to isolate abnormal events.

Does perf-prof work on older Linux kernels?โ–ผ

Yes. It only requires perf_event support, processes events in memory with low overhead, and runs safely in user space on a wide range of kernel versions.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’