memprof_rawprofile.h 492 B

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