#include "services/tracing/public/cpp/triggers_data_source.h"
#include "base/metrics/metrics_hashes.h"
#include "base/trace_event/trace_event.h"
#include "base/tracing/trace_time.h"
#include "third_party/perfetto/protos/perfetto/common/data_source_descriptor.gen.h"
#include "third_party/perfetto/protos/perfetto/trace/chrome/chrome_trigger.pbzero.h"
namespace tracing {
void TriggersDataSource::Register() { … }
void TriggersDataSource::EmitTrigger(const std::string& trigger_name) { … }
void TriggersDataSource::OnStart(const StartArgs&) { … }
void TriggersDataSource::OnStop(const StopArgs&) { … }
}
PERFETTO_DEFINE_DATA_SOURCE_STATIC_MEMBERS_WITH_ATTRS(
COMPONENT_EXPORT(TRACING_CPP),
tracing::TriggersDataSource);