class TraceeV2
Defined at line 26 of file ../../src/performance/trace_manager/traceev2.h
Public Methods
void TraceeV2 (async::Executor &executor,std::shared_ptr<const BufferForwarder>output,ProviderConnection *connection)
Defined at line 30 of file ../../src/performance/trace_manager/traceev2.cc
void ~TraceeV2 ()
Defined at line 31 of file ../../src/performance/trace_manager/traceev2.h
bool operator== (ProviderConnection * connection)
Defined at line 37 of file ../../src/performance/trace_manager/traceev2.cc
TransferStatus TransferRecords ()
Transfer all collected records to output_.
Defined at line 218 of file ../../src/performance/trace_manager/traceev2.cc
zx::result<> TransferBuffer (uint32_t wrapped_count, uint64_t durable_data_end)
Save the buffer specified by |wrapped_count|.
This is a callback from the TraceSession loop.
That's why the result is void and not Tracee::TransferStatus.
Defined at line 246 of file ../../src/performance/trace_manager/traceev2.cc
bool Initialize (std::vector<std::string>categories,size_tbuffer_size,fuchsia_tracing::BufferingModebuffering_mode)
Defined at line 41 of file ../../src/performance/trace_manager/traceev2.cc
ProviderConnection * connection ()
Defined at line 50 of file ../../src/performance/trace_manager/traceev2.h
Tracee::State state ()
Defined at line 51 of file ../../src/performance/trace_manager/traceev2.h
bool was_started ()
Defined at line 52 of file ../../src/performance/trace_manager/traceev2.h
bool results_written ()
Defined at line 53 of file ../../src/performance/trace_manager/traceev2.h
void Terminate (fit::closure cb)
Defined at line 96 of file ../../src/performance/trace_manager/traceev2.cc
void Start (fuchsia_tracing::BufferDispositionbuffer_disposition,const std::vector<std::string> &additional_categories,fit::closurecb)
Defined at line 119 of file ../../src/performance/trace_manager/traceev2.cc
void Stop (fit::closure cb)
Defined at line 154 of file ../../src/performance/trace_manager/traceev2.cc
std::optional<fuchsia_tracing_controller::ProviderStats> GetStats ()
Defined at line 239 of file ../../src/performance/trace_manager/traceev2.cc
void NotifyBufferSaved (uint32_t wrapped_count, uint64_t durable_data_end)
zx::result<> RequestFlush ()
Request the provider prepare to flush its buffer.
Defined at line 204 of file ../../src/performance/trace_manager/traceev2.cc
void Abort ()
fxl::WeakPtr<TraceeV2> GetWeakPtr ()
Defined at line 61 of file ../../src/performance/trace_manager/traceev2.h