Home
last modified time | relevance | path

Searched refs:ProducerID (Results 1 – 11 of 11) sorted by relevance

/external/perfetto/src/tracing/core/
Dtrace_buffer_unittest.cc52 FakeChunk CreateChunk(ProducerID p, WriterID w, ChunkID c) { in CreateChunk()
63 bool TryPatchChunkContents(ProducerID p, in TryPatchChunkContents()
93 std::initializer_list<std::tuple<ProducerID, WriterID, ChunkID>> chunks) { in AppendChunks() argument
103 bool IteratorSeqEq(ProducerID p, in IteratorSeqEq()
121 SequenceIterator GetReadIterForSequence(ProducerID p, WriterID w) { in GetReadIterForSequence()
166 CreateChunk(ProducerID(1), WriterID(1), chunk_id) in TEST_F()
187 ASSERT_EQ(32u, CreateChunk(ProducerID(i), WriterID(i), ChunkID(i)) in TEST_F()
206 ASSERT_EQ(512u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4)) in TEST_F()
209 ASSERT_EQ(512u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4 + 1)) in TEST_F()
212 ASSERT_EQ(1024u, CreateChunk(ProducerID(1), WriterID(1), ChunkID(i * 4 + 2)) in TEST_F()
[all …]
Dtracing_service_impl.h84 ProducerEndpointImpl(ProducerID,
146 ProducerID const id_;
248 void DisconnectProducer(ProducerID);
249 void RegisterDataSource(ProducerID, const DataSourceDescriptor&);
250 void UnregisterDataSource(ProducerID, const std::string& name);
251 void CopyProducerPageIntoLogBuffer(ProducerID,
261 void ApplyChunkPatches(ProducerID,
263 void NotifyFlushDoneForProducer(ProducerID, FlushRequestID);
264 void NotifyDataSourceStarted(ProducerID, const DataSourceInstanceID);
265 void NotifyDataSourceStopped(ProducerID, const DataSourceInstanceID);
[all …]
Dtrace_buffer.h159 ProducerID producer_id_trusted;
191 void CopyChunkUntrusted(ProducerID producer_id_trusted,
215 bool TryPatchChunkContents(ProducerID,
301 ProducerID producer_id = 0;
338 Key(ProducerID p, WriterID w, ChunkID c) in Key()
362 ProducerID producer_id;
460 ProducerID producer_id() const { in producer_id()
648 std::map<std::pair<ProducerID, WriterID>, ChunkID> last_chunk_id_written_;
Dtracing_service_impl.cc161 static int32_t EncodeCommitDataRequest(ProducerID producer_id, in EncodeCommitDataRequest()
356 const ProducerID id = GetNextProducerID(); in ConnectProducer()
418 void TracingServiceImpl::DisconnectProducer(ProducerID id) { in DisconnectProducer()
442 ProducerID id) const { in GetProducer()
1153 ProducerID producer_id = kv.first; in StartTracing()
1238 const ProducerID producer_id = data_source_inst.first; in DisableTracing()
1275 ProducerID producer_id, in NotifyDataSourceStarted()
1341 ProducerID producer_id, in NotifyDataSourceStopped()
1379 ProducerID producer_id, in ActivateTriggers()
1602 std::map<ProducerID, std::vector<DataSourceInstanceID>> flush_map; in Flush()
[all …]
Dtracing_service_impl_unittest.cc123 ProducerID* last_producer_id() { return &svc->last_producer_id_; } in last_producer_id()
125 uid_t GetProducerUid(ProducerID producer_id) { in GetProducerUid()
143 const std::set<BufferID>& GetAllowedTargetBuffers(ProducerID producer_id) { in GetAllowedTargetBuffers()
147 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters()
152 ProducerID producer_id) { in TakeShmemArbiterForProducer()
171 void WaitForTraceWritersChanged(ProducerID producer_id) { in WaitForTraceWritersChanged()
1585 for (ProducerID i = 1; i <= 4; i++) in TEST_F()
2525 ProducerID producer1_id = *last_producer_id(); in TEST_F()
2529 ProducerID producer2_id = *last_producer_id(); in TEST_F()
2605 ProducerID producer_id = *last_producer_id(); in TEST_F()
[all …]
Dtrace_buffer.cc108 void TraceBuffer::CopyChunkUntrusted(ProducerID producer_id_trusted, in CopyChunkUntrusted()
412 bool TraceBuffer::TryPatchChunkContents(ProducerID producer_id, in TryPatchChunkContents()
599 const ProducerID trusted_producer_id = read_iter_.producer_id(); in ReadNextTracePacket()
/external/perfetto/include/perfetto/ext/tracing/core/
Dbasic_types.h36 using ProducerID = uint16_t; variable
49 static constexpr ProducerID kMaxProducerID = static_cast<ProducerID>(-1);
/external/perfetto/src/tracing/test/
Dfake_packet.h54 FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c);
82 ProducerID producer_id;
Dtracing_integration_test.cc185 void WaitForTraceWritersChanged(ProducerID producer_id) { in WaitForTraceWritersChanged()
203 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters()
209 ProducerID* last_producer_id() { in last_producer_id()
Dfake_packet.cc106 FakeChunk::FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c) in FakeChunk()
/external/perfetto/docs/design-docs/
Dlife-of-a-tracing-session.md53 `{ProducerID (unspoofable), WriterID, ChunkID}` is still present in the