/external/perfetto/include/perfetto/ext/tracing/core/ |
D | trace_writer.h | 49 class PERFETTO_EXPORT TraceWriter : public TraceWriterBase { 54 TraceWriter(); 55 ~TraceWriter() override; 85 TraceWriter(const TraceWriter&) = delete; 86 TraceWriter& operator=(const TraceWriter&) = delete;
|
D | shared_memory_arbiter.h | 38 class TraceWriter; variable 53 virtual std::unique_ptr<TraceWriter> CreateTraceWriter( 83 virtual std::unique_ptr<TraceWriter> CreateStartupTraceWriter(
|
/external/perfetto/tools/trace_to_text/ |
D | utils.h | 76 class TraceWriter { 78 TraceWriter(std::ostream* output); 79 virtual ~TraceWriter(); 89 class DeflateTraceWriter : public TraceWriter { 109 class DeflateTraceWriter : public TraceWriter {
|
D | utils.cc | 225 TraceWriter::TraceWriter(std::ostream* output) : output_(output) {} in TraceWriter() function in perfetto::trace_to_text::TraceWriter 227 TraceWriter::~TraceWriter() = default; 229 void TraceWriter::Write(const std::string& s) { in Write() 233 void TraceWriter::Write(const char* data, size_t sz) { in Write() 240 : TraceWriter(output), in DeflateTraceWriter() 274 TraceWriter::Write(reinterpret_cast<char*>(start_), in Flush() 289 : TraceWriter(output) { in DeflateTraceWriter()
|
D | trace_to_json.cc | 41 TraceWriter* writer) { in ExportUserspaceEvents() 84 std::unique_ptr<TraceWriter> trace_writer( in TraceToJson() 85 compress ? new DeflateTraceWriter(output) : new TraceWriter(output)); in TraceToJson()
|
D | trace_to_systrace.cc | 117 QueryWriter(trace_processor::TraceProcessor* tp, TraceWriter* trace_writer) in QueryWriter() 160 TraceWriter* trace_writer_; 170 std::unique_ptr<TraceWriter> trace_writer( in TraceToSystrace() 171 ctrace ? new DeflateTraceWriter(output) : new TraceWriter(output)); in TraceToSystrace() 190 TraceWriter* trace_writer, in ExtractSystrace()
|
D | trace_to_systrace.h | 30 class TraceWriter; variable 41 TraceWriter*,
|
/external/v8/include/libplatform/ |
D | v8-tracing.h | 117 class V8_PLATFORM_EXPORT TraceWriter { 119 TraceWriter() = default; 120 virtual ~TraceWriter() = default; 124 static TraceWriter* CreateJSONTraceWriter(std::ostream& stream); 125 static TraceWriter* CreateJSONTraceWriter(std::ostream& stream, 130 TraceWriter(const TraceWriter&) = delete; 131 void operator=(const TraceWriter&) = delete; 170 TraceWriter* trace_writer);
|
/external/perfetto/src/traced/probes/metatrace/ |
D | metatrace_data_source.h | 27 class TraceWriter; variable 39 std::unique_ptr<TraceWriter> writer); 49 std::unique_ptr<TraceWriter> trace_writer_;
|
/external/perfetto/src/tracing/core/ |
D | metatrace_writer.h | 33 class TraceWriter; variable 55 void Enable(base::TaskRunner*, std::unique_ptr<TraceWriter>, uint32_t tags); 64 std::unique_ptr<TraceWriter> trace_writer_;
|
D | shared_memory_arbiter_impl.h | 38 class TraceWriter; variable 141 std::unique_ptr<TraceWriter> CreateTraceWriter( 144 std::unique_ptr<TraceWriter> CreateStartupTraceWriter( 186 std::unique_ptr<TraceWriter> CreateTraceWriterInternal(
|
D | shared_memory_arbiter_impl_unittest.cc | 52 std::unique_ptr<TraceWriter> CreateTraceWriter( in CreateTraceWriter() 193 std::map<WriterID, std::unique_ptr<TraceWriter>> writers; in TEST_P() 196 std::unique_ptr<TraceWriter> writer = arbiter_->CreateTraceWriter(1); in TEST_P() 264 std::unique_ptr<TraceWriter> writer = arbiter_->CreateTraceWriter(1); in TEST_P() 281 std::unique_ptr<TraceWriter> writer = in TEST_P() 335 std::unique_ptr<TraceWriter> writer1b = in TEST_P() 359 std::unique_ptr<TraceWriter> writer2 = in TEST_P() 414 std::unique_ptr<TraceWriter> writer = in TEST_P() 416 std::unique_ptr<TraceWriter> writer2 = in TEST_P() 487 std::unique_ptr<TraceWriter> writer1b = in TEST_P() [all …]
|
/external/perfetto/src/traced/probes/power/ |
D | android_power_data_source.h | 30 class TraceWriter; variable 42 std::unique_ptr<TraceWriter> writer); 64 std::unique_ptr<TraceWriter> writer_;
|
/external/perfetto/src/traced/probes/packages_list/ |
D | packages_list_data_source.h | 36 class TraceWriter; variable 57 std::unique_ptr<TraceWriter> writer); 69 std::unique_ptr<TraceWriter> writer_;
|
/external/perfetto/src/traced/probes/filesystem/ |
D | inode_file_data_source.h | 45 class TraceWriter; variable 65 std::unique_ptr<TraceWriter> writer); 117 std::unique_ptr<TraceWriter> writer_; 122 TraceWriter::TracePacketHandle current_trace_packet_;
|
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_data_source.h | 62 std::unique_ptr<TraceWriter>); 84 TraceWriter* trace_writer() { return writer_.get(); } in trace_writer() 100 std::unique_ptr<TraceWriter> writer_;
|
/external/v8/src/libplatform/tracing/ |
D | trace-writer.cc | 184 TraceWriter* TraceWriter::CreateJSONTraceWriter(std::ostream& stream) { in CreateJSONTraceWriter() 188 TraceWriter* TraceWriter::CreateJSONTraceWriter(std::ostream& stream, in CreateJSONTraceWriter()
|
/external/perfetto/src/traced/probes/android_log/ |
D | android_log_data_source.h | 34 class TraceWriter; variable 65 std::unique_ptr<TraceWriter> writer); 116 std::unique_ptr<TraceWriter> writer_;
|
/external/perfetto/src/tracing/test/ |
D | mock_producer.h | 66 std::unique_ptr<TraceWriter> CreateTraceWriter( 71 void WaitForFlush(TraceWriter* writer_to_flush, bool reply = true); 73 void WaitForFlush(std::vector<TraceWriter*> writers_to_flush,
|
D | mock_producer.cc | 151 std::unique_ptr<TraceWriter> MockProducer::CreateTraceWriter( in CreateTraceWriter() 158 void MockProducer::WaitForFlush(TraceWriter* writer_to_flush, bool reply) { in WaitForFlush() 159 std::vector<TraceWriter*> writers; in WaitForFlush() 165 void MockProducer::WaitForFlush(std::vector<TraceWriter*> writers_to_flush, in WaitForFlush()
|
/external/perfetto/src/traced/probes/sys_stats/ |
D | sys_stats_data_source.h | 53 std::unique_ptr<TraceWriter> writer, 85 std::unique_ptr<TraceWriter> writer_; 90 TraceWriter::TracePacketHandle cur_packet_;
|
/external/perfetto/docs/design-docs/ |
D | life-of-a-tracing-session.md | 32 [`TraceWriter`](/include/perfetto/ext/tracing/core/trace_writer.h) (typically 34 12. Each `TraceWriter` writes one or more 36 13. While doing so, each `TraceWriter` takes ownership of shared memory buffer's 38 14. While writing a `TracePacket`, the `TraceWriter` will unavoidably cross the 40 15. When this happens the `TraceWriter` will release the current chunk and 60 21. The producer(s) will `Flush()` all their `TraceWriter` and reply to the 81 Other packets for other `TraceWriter` sequences will be unaffected.
|
/external/perfetto/src/profiling/memory/ |
D | bookkeeping_dump.h | 42 TraceWriter* trace_writer, in DumpState() 103 TraceWriter* trace_writer_; 108 TraceWriter::TracePacketHandle current_trace_packet_;
|
/external/perfetto/src/traced/probes/system_info/ |
D | system_info_data_source.h | 33 std::unique_ptr<TraceWriter> writer, 44 std::unique_ptr<TraceWriter> writer_;
|
/external/perfetto/src/traced/probes/initial_display_state/ |
D | initial_display_state_data_source.h | 40 std::unique_ptr<TraceWriter> writer); 56 std::unique_ptr<TraceWriter> writer_;
|