1 #ifndef MEMPROF_RAWPROFILE_H_
2 #define MEMPROF_RAWPROFILE_H_
4 #include "memprof_mibmap.h"
5 #include "sanitizer_common/sanitizer_array_ref.h"
6 #include "sanitizer_common/sanitizer_common.h"
9 // Serialize the in-memory representation of the memprof profile to the raw
10 // binary format. The format itself is documented memprof_rawprofile.cpp.
11 u64
SerializeToRawProfile(MIBMapTy
&BlockCache
, ArrayRef
<LoadedModule
> Modules
,
13 } // namespace __memprof
15 #endif // MEMPROF_RAWPROFILE_H_