Home
last modified time | relevance | path

Searched refs:TraceWriter (Results 1 – 25 of 80) sorted by relevance

1234

/external/perfetto/include/perfetto/ext/tracing/core/
Dtrace_writer.h49 class PERFETTO_EXPORT TraceWriter : public TraceWriterBase {
54 TraceWriter();
55 ~TraceWriter() override;
85 TraceWriter(const TraceWriter&) = delete;
86 TraceWriter& operator=(const TraceWriter&) = delete;
Dshared_memory_arbiter.h38 class TraceWriter; variable
53 virtual std::unique_ptr<TraceWriter> CreateTraceWriter(
83 virtual std::unique_ptr<TraceWriter> CreateStartupTraceWriter(
/external/perfetto/tools/trace_to_text/
Dutils.h76 class TraceWriter {
78 TraceWriter(std::ostream* output);
79 virtual ~TraceWriter();
89 class DeflateTraceWriter : public TraceWriter {
109 class DeflateTraceWriter : public TraceWriter {
Dutils.cc225 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()
Dtrace_to_json.cc41 TraceWriter* writer) { in ExportUserspaceEvents()
84 std::unique_ptr<TraceWriter> trace_writer( in TraceToJson()
85 compress ? new DeflateTraceWriter(output) : new TraceWriter(output)); in TraceToJson()
Dtrace_to_systrace.cc117 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()
Dtrace_to_systrace.h30 class TraceWriter; variable
41 TraceWriter*,
/external/v8/include/libplatform/
Dv8-tracing.h117 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/
Dmetatrace_data_source.h27 class TraceWriter; variable
39 std::unique_ptr<TraceWriter> writer);
49 std::unique_ptr<TraceWriter> trace_writer_;
/external/perfetto/src/tracing/core/
Dmetatrace_writer.h33 class TraceWriter; variable
55 void Enable(base::TaskRunner*, std::unique_ptr<TraceWriter>, uint32_t tags);
64 std::unique_ptr<TraceWriter> trace_writer_;
Dshared_memory_arbiter_impl.h38 class TraceWriter; variable
141 std::unique_ptr<TraceWriter> CreateTraceWriter(
144 std::unique_ptr<TraceWriter> CreateStartupTraceWriter(
186 std::unique_ptr<TraceWriter> CreateTraceWriterInternal(
Dshared_memory_arbiter_impl_unittest.cc52 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/
Dandroid_power_data_source.h30 class TraceWriter; variable
42 std::unique_ptr<TraceWriter> writer);
64 std::unique_ptr<TraceWriter> writer_;
/external/perfetto/src/traced/probes/packages_list/
Dpackages_list_data_source.h36 class TraceWriter; variable
57 std::unique_ptr<TraceWriter> writer);
69 std::unique_ptr<TraceWriter> writer_;
/external/perfetto/src/traced/probes/filesystem/
Dinode_file_data_source.h45 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/
Dftrace_data_source.h62 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/
Dtrace-writer.cc184 TraceWriter* TraceWriter::CreateJSONTraceWriter(std::ostream& stream) { in CreateJSONTraceWriter()
188 TraceWriter* TraceWriter::CreateJSONTraceWriter(std::ostream& stream, in CreateJSONTraceWriter()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.h34 class TraceWriter; variable
65 std::unique_ptr<TraceWriter> writer);
116 std::unique_ptr<TraceWriter> writer_;
/external/perfetto/src/tracing/test/
Dmock_producer.h66 std::unique_ptr<TraceWriter> CreateTraceWriter(
71 void WaitForFlush(TraceWriter* writer_to_flush, bool reply = true);
73 void WaitForFlush(std::vector<TraceWriter*> writers_to_flush,
Dmock_producer.cc151 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/
Dsys_stats_data_source.h53 std::unique_ptr<TraceWriter> writer,
85 std::unique_ptr<TraceWriter> writer_;
90 TraceWriter::TracePacketHandle cur_packet_;
/external/perfetto/docs/design-docs/
Dlife-of-a-tracing-session.md32 [`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/
Dbookkeeping_dump.h42 TraceWriter* trace_writer, in DumpState()
103 TraceWriter* trace_writer_;
108 TraceWriter::TracePacketHandle current_trace_packet_;
/external/perfetto/src/traced/probes/system_info/
Dsystem_info_data_source.h33 std::unique_ptr<TraceWriter> writer,
44 std::unique_ptr<TraceWriter> writer_;
/external/perfetto/src/traced/probes/initial_display_state/
Dinitial_display_state_data_source.h40 std::unique_ptr<TraceWriter> writer);
56 std::unique_ptr<TraceWriter> writer_;

1234