class Session

Defined at line 24 of file ../../zircon/system/ulib/trace-provider/session.h

Public Methods

std::unique_ptr<Session> InitializeEngine (async_dispatcher_t * dispatcher, trace_buffering_mode_t buffering_mode, zx::vmo buffer, std::vector<std::string> categories, fidl::ServerBindingRef<fuchsia_tracing_provider::ProviderV2> binding)

Defined at line 69 of file ../../zircon/system/ulib/trace-provider/session.cc

void StartEngine (trace_start_mode_t start_mode, fit::callback<void ()> cb)

Defined at line 179 of file ../../zircon/system/ulib/trace-provider/session.cc

void StopEngine (fit::callback<void ()> cb)

Defined at line 241 of file ../../zircon/system/ulib/trace-provider/session.cc

void TerminateEngine (fit::callback<void ()> cb)

Defined at line 255 of file ../../zircon/system/ulib/trace-provider/session.cc

void ~Session ()

Defined at line 45 of file ../../zircon/system/ulib/trace-provider/session.cc

zx_status_t MarkBufferSaved (uint32_t wrapped_count, uint64_t durable_data_end)

This is called in streaming mode when TraceManager reports back that

it has saved the buffer.

Defined at line 328 of file ../../zircon/system/ulib/trace-provider/session.cc