Bare-metal 프로파일링 — GPIO·DWT·SysTick·ITM 활용
OS도 perf도 없는 환경에서 GPIO, DWT cycle counter, SysTick, ITM으로 측정하기.
Tech articles, book reviews, and presentations.
페이지 54 / 73
OS도 perf도 없는 환경에서 GPIO, DWT cycle counter, SysTick, ITM으로 측정하기.
ARM Development Studio Streamline, Lauterbach TRACE32, ETM·PTM hardware trace.
Brendan Gregg flamegraph로 on-CPU·off-CPU·차분 분석. perf·BCC stack 수집.
eBPF VM과 verifier, bpftrace one-liner, BCC tools, kprobe·uprobe·USDT 비교.
ftrace의 function tracer, function_graph, irqsoff·preemptoff latency tracer 활용.
perf의 raw event, tracepoint, perf script Python을 사용한 커스텀 분석.
Linux perf 표준 도구의 세 가지 핵심 명령. 설치, 권한, 그리고 첫 측정부터 핫스팟 분석까지.
Per-core utilization과 CPU affinity, NUMA, migration cost, Amdahl 한계.
MESI와 MOESI 프로토콜, snoop과 directory 방식, coherency overhead 측정.
C11/C++11 memory_order와 acquire-release pair, seq-cst 비용, ARM ldar/stlr.