/external/perfetto/tools/trace_to_text/ |
D | trace_to_systrace.cc | 117 QueryWriter(trace_processor::TraceProcessor* tp, TraceWriter* trace_writer) in QueryWriter() argument 121 trace_writer_(trace_writer) {} in QueryWriter() 170 std::unique_ptr<TraceWriter> trace_writer( in TraceToSystrace() local 185 return ExtractSystrace(tp.get(), trace_writer.get(), in TraceToSystrace() 190 TraceWriter* trace_writer, in ExtractSystrace() argument 195 QueryWriter q_writer(tp, trace_writer); in ExtractSystrace() 197 trace_writer->Write(kProcessDumpHeader); in ExtractSystrace() 215 trace_writer->Write(kThreadHeader); in ExtractSystrace() 233 trace_writer->Write("\",\n"); in ExtractSystrace() 234 trace_writer->Write(kSystemTraceEvents); in ExtractSystrace() [all …]
|
D | trace_to_json.cc | 84 std::unique_ptr<TraceWriter> trace_writer( in TraceToJson() local 97 if (ExportUserspaceEvents(tp.get(), trace_writer.get())) { in TraceToJson() 98 trace_writer->Write(",\n"); in TraceToJson() 100 trace_writer->Write(kTraceHeader); in TraceToJson() 103 int ret = ExtractSystrace(tp.get(), trace_writer.get(), in TraceToJson() 108 trace_writer->Write(kTraceFooter); in TraceToJson()
|
/external/perfetto/src/tracing/internal/ |
D | track_event_internal.cc | 272 void TrackEventInternal::ResetIncrementalState(TraceWriterBase* trace_writer, in ResetIncrementalState() argument 279 trace_writer, timestamp, in ResetIncrementalState() 291 WriteTrackDescriptor(default_track, trace_writer); in ResetIncrementalState() 295 WriteTrackDescriptor(ProcessTrack::Current(), trace_writer); in ResetIncrementalState() 300 TrackEventInternal::NewTracePacket(TraceWriterBase* trace_writer, in NewTracePacket() argument 303 auto packet = trace_writer->NewTracePacket(); in NewTracePacket() 315 TraceWriterBase* trace_writer, in WriteEvent() argument 325 ResetIncrementalState(trace_writer, timestamp); in WriteEvent() 327 auto packet = NewTracePacket(trace_writer, timestamp); in WriteEvent()
|
/external/perfetto/test/ |
D | end_to_end_shared_memory_fuzzer.cc | 82 auto trace_writer = endpoint_->CreateTraceWriter( in StartDataSource() local 85 auto packet = trace_writer->NewTracePacket(); in StartDataSource() 88 trace_writer->Flush(); in StartDataSource() 91 auto end_packet = trace_writer->NewTracePacket(); in StartDataSource() 94 trace_writer->Flush(on_produced_and_committed_); in StartDataSource()
|
/external/v8/src/libplatform/tracing/ |
D | trace-buffer.cc | 12 TraceWriter* trace_writer) in TraceBufferRingBuffer() argument 14 trace_writer_.reset(trace_writer); in TraceBufferRingBuffer() 101 size_t max_chunks, TraceWriter* trace_writer) { in CreateTraceBufferRingBuffer() argument 102 return new TraceBufferRingBuffer(max_chunks, trace_writer); in CreateTraceBufferRingBuffer()
|
D | trace-buffer.h | 21 TraceBufferRingBuffer(size_t max_chunks, TraceWriter* trace_writer);
|
/external/perfetto/include/perfetto/tracing/internal/ |
D | track_event_internal.h | 132 TraceWriterBase* trace_writer, in WriteTrackDescriptorIfNeeded() argument 137 WriteTrackDescriptor(track, trace_writer); in WriteTrackDescriptorIfNeeded() 143 TraceWriterBase* trace_writer) { in WriteTrackDescriptor() argument 145 track, NewTracePacket(trace_writer, GetTimeNs())); in WriteTrackDescriptor()
|
D | data_source_internal.h | 131 trace_writer.reset(); in Reset() 137 std::unique_ptr<TraceWriterBase> trace_writer; member
|
D | track_event_data_source.h | 433 track, ctx.tls_inst_->trace_writer.get()); in SetTrackDescriptor() 520 ctx.tls_inst_->trace_writer.get(), ctx.GetIncrementalState(), 538 track, ctx.tls_inst_->trace_writer.get(), 565 track, ctx.tls_inst_->trace_writer.get()); in SetTrackDescriptorImpl()
|
/external/perfetto/include/perfetto/tracing/ |
D | data_source.h | 178 return tls_inst_->trace_writer->NewTracePacket(); in NewTracePacket() 196 tls_inst_->trace_writer->Flush(cb); 202 uint64_t written() { return tls_inst_->trace_writer->written(); } in written() 353 if (PERFETTO_UNLIKELY(!tls_inst.trace_writer)) { in TraceWithInstances() 364 tls_inst.trace_writer = tracing_impl->CreateTraceWriter( in TraceWithInstances() 373 assert(tls_inst.trace_writer); in TraceWithInstances()
|
/external/perfetto/src/tracing/core/ |
D | metatrace_writer.cc | 39 std::unique_ptr<TraceWriter> trace_writer, in Enable() argument 47 trace_writer_ = std::move(trace_writer); in Enable()
|
/external/perfetto/src/profiling/memory/ |
D | bookkeeping_dump.h | 42 TraceWriter* trace_writer, in DumpState() argument 46 : trace_writer_(trace_writer), in DumpState()
|
D | heapprofd_producer.cc | 354 auto trace_writer = endpoint_->CreateTraceWriter(buffer_id); in SetupDataSource() local 355 auto trace_packet = trace_writer->NewTracePacket(); in SetupDataSource() 363 trace_writer->Flush(); in SetupDataSource() 395 data_source.trace_writer.get()); in SetupDataSource() 549 auto trace_packet = data_source->trace_writer->NewTracePacket(); in ShutdownDataSource() 640 DumpState dump_state(data_source->trace_writer.get(), in DumpProcessState() 722 data_source.trace_writer->Flush(std::move(callback)); in Flush() 1026 ds->trace_writer->Flush([weak_producer, ds_id, was_stopped] { in MaybeFinishDataSource()
|
D | heapprofd_producer.h | 193 DataSource(std::unique_ptr<TraceWriter> tw) : trace_writer(std::move(tw)) {} in DataSource() 196 std::unique_ptr<TraceWriter> trace_writer; member
|
/external/perfetto/src/profiling/perf/ |
D | perf_producer.h | 126 trace_writer(std::move(_trace_writer)), in DataSourceState() 131 std::unique_ptr<TraceWriter> trace_writer; member
|
D | perf_producer.cc | 237 ds_it->second.trace_writer.get()); in StartDataSource() 326 InterningOutputTracker::WriteFixedInterningsPacket(ds.trace_writer.get()); in ClearIncrementalState() 579 auto packet = ds.trace_writer->NewTracePacket(); in EmitSample() 614 auto packet = ds.trace_writer->NewTracePacket(); in EmitRingBufferLoss() 648 auto packet = ds.trace_writer->NewTracePacket(); in EmitSkippedSample() 698 ds.trace_writer->Flush(); in FinishDataSourceStop()
|
/external/perfetto/src/profiling/common/ |
D | interning_output.cc | 36 TraceWriter* trace_writer) { in WriteFixedInterningsPacket() argument 40 auto packet = trace_writer->NewTracePacket(); in WriteFixedInterningsPacket()
|
D | interning_output.h | 38 static void WriteFixedInterningsPacket(TraceWriter* trace_writer);
|
/external/perfetto/src/traced/probes/ftrace/ |
D | cpu_reader.cc | 263 data_source->trace_writer(), data_source->mutable_metadata(), cpu_, in ReadAndProcessBatch() 273 TraceWriter* trace_writer, in ProcessPagesForDataSource() argument 283 auto packet = trace_writer->NewTracePacket(); in ProcessPagesForDataSource() 323 packet = trace_writer->NewTracePacket(); in ProcessPagesForDataSource()
|
D | ftrace_data_source.h | 84 TraceWriter* trace_writer() { return writer_.get(); } in trace_writer() function
|
D | cpu_reader.h | 216 static bool ProcessPagesForDataSource(TraceWriter* trace_writer,
|
D | cpu_reader_unittest.cc | 1166 TraceWriterForTesting trace_writer; in TEST() local 1167 CpuReader::ProcessPagesForDataSource(&trace_writer, &metadata, /*cpu=*/1, in TEST() 1174 auto packets = trace_writer.GetAllTracePackets(); in TEST()
|
/external/perfetto/include/perfetto/ext/tracing/core/ |
D | BUILD.gn | 33 "trace_writer.h",
|
/external/v8/include/libplatform/ |
D | v8-tracing.h | 170 TraceWriter* trace_writer);
|
/external/perfetto/docs/design-docs/ |
D | life-of-a-tracing-session.md | 32 [`TraceWriter`](/include/perfetto/ext/tracing/core/trace_writer.h) (typically
|