#include "src/tracing/service/metatrace_writer.h"
#include "perfetto/base/logging.h"
#include "perfetto/base/task_runner.h"
#include "perfetto/ext/tracing/core/trace_writer.h"
#include "perfetto/tracing/core/data_source_descriptor.h"
#include "protos/perfetto/trace/perfetto/perfetto_metatrace.pbzero.h"
#include "protos/perfetto/trace/trace_packet.pbzero.h"
namespace perfetto {
MetatraceWriter::MetatraceWriter() : … { … }
MetatraceWriter::~MetatraceWriter() { … }
void MetatraceWriter::Enable(base::TaskRunner* task_runner,
std::unique_ptr<TraceWriter> trace_writer,
uint32_t tags) { … }
void MetatraceWriter::Disable() { … }
void MetatraceWriter::WriteAllAvailableEvents() { … }
void MetatraceWriter::WriteAllAndFlushTraceWriter(
std::function<void()> callback) { … }
}