blob: a4e9fd4232b5d358f5e33bd8ae6a7b2db07c348b [file] [log] [blame]
#ifndef MEMPROF_RAWPROFILE_H_
#define MEMPROF_RAWPROFILE_H_
#include "memprof_mibmap.h"
#include "sanitizer_common/sanitizer_common.h"
namespace __memprof {
// Serialize the in-memory representation of the memprof profile to the raw
// binary format. The format itself is documented memprof_rawprofile.cpp.
u64 SerializeToRawProfile(MIBMapTy &BlockCache, ArrayRef<LoadedModule> Modules,
char *&Buffer);
} // namespace __memprof
#endif // MEMPROF_RAWPROFILE_H_