Talk

Memory Profiling Techniques and LLVM MemProf Tool

  • In Russian

MemProf is a relatively new LLVM tool based on common sanitizer runtime techniques. In this talk, we'll start from different memory profiling approaches (via Valgrind, LSAN and ASAN API, sanitizer interceptors, eBPF, etc.) and the main focus will be on this new LLVM MemProf tool that could be used for PGO and manual analysis of memory usage.

We'll learn how LLVM MemProf works under the hood, how to read and interpret its reports, and how to use MemProf for PGO (profile-guided optimization) with Clang.

Talks