16 lines · c
1#ifndef MEMPROF_RAWPROFILE_H_2#define MEMPROF_RAWPROFILE_H_3 4#include "memprof_mibmap.h"5#include "sanitizer_common/sanitizer_array_ref.h"6#include "sanitizer_common/sanitizer_common.h"7 8namespace __memprof {9// Serialize the in-memory representation of the memprof profile to the raw10// binary format. The format itself is documented memprof_rawprofile.cpp.11u64 SerializeToRawProfile(MIBMapTy &BlockCache, ArrayRef<LoadedModule> Modules,12 char *&Buffer);13} // namespace __memprof14 15#endif // MEMPROF_RAWPROFILE_H_16