8#ifndef SkPerfettoTrace_DEFINED
9#define SkPerfettoTrace_DEFINED
26 const uint8_t* categoryEnabledFlag,
30 const char** argNames,
31 const uint8_t* argTypes,
32 const uint64_t* argValues,
33 uint8_t
flags)
override;
50 std::unique_ptr<perfetto::TracingSession> tracingSession;
57 std::string fOutputPath;
58 std::string fOutputFileExtension;
59 std::string fCurrentSessionFullOutputPath;
61 void openNewTracingSession(
const std::string& baseFileName);
62 void closeTracingSession();
68 void triggerTraceEvent(
const uint8_t* categoryEnabledFlag,
const char* eventName);
69 void triggerTraceEvent(
const uint8_t* categoryEnabledFlag,
const char* eventName,
70 const char* arg1Name,
const uint8_t& arg1Type,
const uint64_t& arg1Val);
71 void triggerTraceEvent(
const uint8_t* categoryEnabledFlag,
const char* eventName,
72 const char* arg1Name,
const uint8_t& arg1Type,
const uint64_t& arg1Val,
73 const char* arg2Name,
const uint8_t& arg2Type,
const uint64_t& arg2Val);
PERFETTO_DEFINE_CATEGORIES()
SkEventTracer::Handle addTraceEvent(char phase, const uint8_t *categoryEnabledFlag, const char *name, uint64_t id, int numArgs, const char **argNames, const uint8_t *argTypes, const uint64_t *argValues, uint8_t flags) override
~SkPerfettoTrace() override
void updateTraceEventDuration(const uint8_t *categoryEnabledFlag, const char *name, SkEventTracer::Handle handle) override
const uint8_t * getCategoryGroupEnabled(const char *name) override
void newTracingSection(const char *name) override
const char * getCategoryGroupName(const uint8_t *categoryEnabledFlag) override
FlutterSemanticsFlag flags
DEF_SWITCHES_START aot vmservice shared library name