Embedded Performance Engineering
Flamegraph 분석 — On-CPU·Off-CPU·Differential
Brendan Gregg flamegraph로 on-CPU·off-CPU·차분 분석. perf·BCC stack 수집.
· 6분 읽기
flamegraph perf
6개의 포스트
Brendan Gregg flamegraph로 on-CPU·off-CPU·차분 분석. perf·BCC stack 수집.
perf의 raw event, tracepoint, perf script Python을 사용한 커스텀 분석.
Linux perf 표준 도구의 세 가지 핵심 명령. 설치, 권한, 그리고 첫 측정부터 핫스팟 분석까지.
Armv8 PMU의 counter 구조와 event 번호를 Linux 소스·Cortex-A53 TRM으로 확인하고, Cortex-M DWT profiling counter와 RISC-V HPM을 사양서로 정리합니다.
Sampling과 instrumentation의 수집 방식과 해석상 주의점을 비교합니다. perf·gprof·PGO·LTO를 살펴봅니다.
왜 느린가? Cache miss, pipeline stall, bus contention부터 profiling 도구 활용까지. 임베디드 시스템 성능 분석의 모든 것.