1 #ifndef MEMPROF_RAWPROFILE_H_
2 #define MEMPROF_RAWPROFILE_H_
3 
4 #include "memprof_mibmap.h"
5 #include "sanitizer_common/sanitizer_procmaps.h"
6 
7 namespace __memprof {
8 // Serialize the in-memory representation of the memprof profile to the raw
9 // binary format. The format itself is documented memprof_rawprofile.cpp.
10 u64 SerializeToRawProfile(MIBMapTy &BlockCache, MemoryMappingLayoutBase &Layout,
11                           char *&Buffer);
12 } // namespace __memprof
13 
14 #endif // MEMPROF_RAWPROFILE_H_
15