~/talk

Observability Tools C++: Beyond GDB and printf - Tools to Understand the Behavior of Your Program

Talkat CppCon 2022 · 2022-09-11..09-16· [observability]
links:none on file
slides:none on file

Flame graphs via speedscope + perf (99Hz sampling) show where time actually goes; heap profiling with Heaptrack: 19MB peak, ~200k allocations reveals allocation hotspots and temporary buffers; coverage requires compiling with --coverage to count line executions; syscall tracing with strace exposes heavy read/open/brk patterns; perf stat demonstrates a concrete performance claim — matrix multiply dropping from 8s to 3s with cycles 154→57 and IPC improving 0.91→1.23 — and automatic vectorization explains the instruction drop.

AI-written summary · about

  1. 0:00Introduction to tools
  2. 3:00Using flame graphs
  3. 6:13Analyzing flame graph views
  4. 8:32Interpreting perf data
  5. 10:41Performance optimization tips
  6. 12:04Heap profiling with HeapTrack
  7. 13:55Memory analysis visualization
  8. 15:37Memory leak detection
  9. 17:10Code coverage tools
  10. 18:50Building for coverage
  11. 20:39Analyzing coverage reports
  12. 22:24System call tracing
  13. 24:57Advanced strace techniques
  14. 27:30Debugging with strace
  15. 29:57Hardware performance profiling
  16. 32:44Vectorization and memory
  17. 39:50Debugging and future steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.