#include "src/shared_lib/stream_writer.h"
#include <algorithm>
#include "perfetto/base/compiler.h"
#include "perfetto/protozero/contiguous_memory_range.h"
#include "perfetto/protozero/scattered_stream_writer.h"
#include "perfetto/public/abi/stream_writer_abi.h"
void PerfettoStreamWriterUpdateWritePtr(struct PerfettoStreamWriter* w) { … }
void PerfettoStreamWriterNewChunk(struct PerfettoStreamWriter* w) { … }
uint8_t* PerfettoStreamWriterAnnotatePatch(struct PerfettoStreamWriter* w,
uint8_t* patch_addr) { … }
void PerfettoStreamWriterAppendBytesSlowpath(struct PerfettoStreamWriter* w,
const uint8_t* src,
size_t size) { … }
void PerfettoStreamWriterReserveBytesSlowpath(struct PerfettoStreamWriter* w,
size_t size) { … }