Home
last modified time | relevance | path

Searched refs:BufferID (Results 1 – 25 of 35) sorted by relevance

12

/external/perfetto/src/tracing/core/
Dshared_memory_arbiter_impl.h84 BufferID target_buffer,
91 BufferID target_buffer,
107 BufferID target_buffer) override;
110 BufferID target_buffer) override;
125 BufferID target_buffer,
Dtracing_service_impl.h91 std::unique_ptr<TraceWriter> CreateTraceWriter(BufferID) override;
105 void OnFreeBuffers(const std::vector<BufferID>& target_buffers);
108 bool is_allowed_target_buffer(BufferID buffer_id) const { in is_allowed_target_buffer()
112 base::Optional<BufferID> buffer_id_for_writer(WriterID writer_id) const { in buffer_id_for_writer()
141 std::set<BufferID> allowed_target_buffers_;
151 std::map<WriterID, BufferID> writers_;
229 BufferID,
440 std::vector<BufferID> buffers_index;
523 TraceBuffer* GetBufferByID(BufferID);
536 IdAllocator<BufferID> buffer_ids_;
[all …]
Dshared_memory_arbiter_impl.cc152 BufferID target_buffer, in ReturnCompletedChunk()
161 BufferID target_buffer, in SendPatches()
169 BufferID target_buffer, in UpdateCommitDataRequest()
298 BufferID target_buffer) { in CreateTraceWriter()
317 BufferID target_buffer) { in BindStartupTraceWriterRegistry()
Dtrace_writer_impl.h36 TraceWriterImpl(SharedMemoryArbiterImpl*, WriterID, BufferID);
66 const BufferID target_buffer_;
Dstartup_trace_writer_unittest.cc61 const BufferID kBufId = 42; in BindWriter()
203 const BufferID kBufId = 42; in TEST_P()
309 const BufferID kBufId = 42; in TEST_P()
Dtracing_service_impl.cc436 BufferID global_id = buffer_ids_.Allocate(); in EnableTracing()
466 for (BufferID global_id : tracing_session->buffers_index) { in EnableTracing()
1179 [producer](BufferID buffer_id) { in ScrapeSharedMemoryBuffers()
1252 base::Optional<BufferID> target_buffer_id = in ScrapeSharedMemoryBuffers()
1650 for (BufferID buffer_id : tracing_session->buffers_index) { in FreeBuffers()
1828 BufferID global_id = tracing_session->buffers_index[relative_buffer_id]; in SetupDataSource()
1874 BufferID buffer_id, in CopyProducerPageIntoLogBuffer()
1913 base::Optional<BufferID> associated_buffer = in CopyProducerPageIntoLogBuffer()
1940 GetBufferByID(static_cast<BufferID>(chunk.target_buffer())); in ApplyChunkPatches()
2023 TraceBuffer* TracingServiceImpl::GetBufferByID(BufferID buffer_id) { in GetBufferByID()
[all …]
Dtrace_writer_impl_unittest.cc65 const BufferID kBufId = 42; in TEST_P()
99 const BufferID kBufId = 42; in TEST_P()
Dstartup_trace_writer.cc143 BufferID target_buffer) { in BindToArbiter()
302 BufferID target_buffer) { in CommitLocalBufferChunks()
/external/swiftshader/third_party/LLVM/lib/Support/
DSourceMgr.cpp84 unsigned SourceMgr::FindLineNumber(SMLoc Loc, int BufferID) const { in FindLineNumber()
85 if (BufferID == -1) BufferID = FindBufferContainingLoc(Loc); in FindLineNumber()
86 assert(BufferID != -1 && "Invalid Location!"); in FindLineNumber()
88 MemoryBuffer *Buff = getBufferInfo(BufferID).Buffer; in FindLineNumber()
100 if (Cache->LastQueryBufferID == BufferID && in FindLineNumber()
118 Cache.LastQueryBufferID = BufferID; in FindLineNumber()
/external/llvm/lib/Support/
DSourceMgr.cpp77 SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const { in getLineAndColumn()
78 if (!BufferID) in getLineAndColumn()
79 BufferID = FindBufferContainingLoc(Loc); in getLineAndColumn()
80 assert(BufferID && "Invalid Location!"); in getLineAndColumn()
82 const MemoryBuffer *Buff = getMemoryBuffer(BufferID); in getLineAndColumn()
95 if (Cache->LastQueryBufferID == BufferID && in getLineAndColumn()
112 Cache.LastQueryBufferID = BufferID; in getLineAndColumn()
144 const char *BufferID = "<unknown>"; in GetMessage() local
152 BufferID = CurMB->getBufferIdentifier(); in GetMessage()
193 return SMDiagnostic(*this, Loc, BufferID, LineAndCol.first, in GetMessage()
/external/perfetto/include/perfetto/tracing/core/
Dbasic_types.h60 using BufferID = uint16_t; variable
63 static constexpr BufferID kMaxTraceBufferID = static_cast<BufferID>(-1);
Dshared_memory_arbiter.h53 BufferID target_buffer) = 0;
72 BufferID target_buffer) = 0;
Dstartup_trace_writer_registry.h98 BufferID target_buffer,
136 BufferID target_buffer_ = 0;
Dstartup_trace_writer.h128 BufferID target_buffer) PERFETTO_WARN_UNUSED_RESULT;
134 ChunkID CommitLocalBufferChunks(SharedMemoryArbiterImpl*, WriterID, BufferID);
/external/perfetto/src/traced/probes/
Dprobes_producer.cc243 const BufferID buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateFtraceDataSource()
261 auto buffer_id = static_cast<BufferID>(source_config.target_buffer()); in CreateInodeFileDataSource()
272 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateProcessStatsDataSource()
281 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateAndroidPowerDataSource()
290 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateAndroidLogDataSource()
299 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreatePackagesListDataSource()
307 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateSysStatsDataSource()
/external/perfetto/src/tracing/test/
Dtracing_integration_test.cc203 const std::map<WriterID, BufferID>& GetWriters(ProducerID producer_id) { in GetWriters()
234 BufferID global_buf_id = 0; in TEST_F()
266 global_buf_id = static_cast<BufferID>(cfg.target_buffer()); in TEST_F()
268 ASSERT_LE(global_buf_id, std::numeric_limits<BufferID>::max()); in TEST_F()
377 BufferID global_buf_id = 0; in TEST_F()
385 global_buf_id = static_cast<BufferID>(cfg.target_buffer()); in TEST_F()
465 BufferID global_buf_id = 0; in TEST_F()
474 global_buf_id = static_cast<BufferID>(cfg.target_buffer()); in TEST_F()
Dmock_producer.cc103 auto target_buffer = static_cast<BufferID>(cfg.target_buffer()); in WaitForDataSourceSetup()
124 auto target_buffer = static_cast<BufferID>(cfg.target_buffer()); in WaitForDataSourceStart()
150 BufferID buf_id = data_source_instances_[data_source_name].target_buffer; in CreateTraceWriter()
Dfake_producer_endpoint.h40 std::unique_ptr<TraceWriter> CreateTraceWriter(BufferID) override { in CreateTraceWriter() argument
Dmock_producer.h39 BufferID target_buffer;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSourceMgr.cpp130 SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const { in getLineAndColumn()
131 if (!BufferID) in getLineAndColumn()
132 BufferID = FindBufferContainingLoc(Loc); in getLineAndColumn()
133 assert(BufferID && "Invalid Location!"); in getLineAndColumn()
135 auto &SB = getBufferInfo(BufferID); in getLineAndColumn()
176 StringRef BufferID = "<unknown>"; in GetMessage() local
184 BufferID = CurMB->getBufferIdentifier(); in GetMessage()
225 return SMDiagnostic(*this, Loc, BufferID, LineAndCol.first, in GetMessage()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h143 unsigned FindLineNumber(SMLoc Loc, unsigned BufferID = 0) const {
144 return getLineAndColumn(Loc, BufferID).first;
150 unsigned BufferID = 0) const;
/external/llvm/include/llvm/Support/
DSourceMgr.h148 unsigned FindLineNumber(SMLoc Loc, unsigned BufferID = 0) const {
149 return getLineAndColumn(Loc, BufferID).first;
155 unsigned BufferID = 0) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSourceMgr.h177 unsigned FindLineNumber(SMLoc Loc, unsigned BufferID = 0) const {
178 return getLineAndColumn(Loc, BufferID).first;
184 unsigned BufferID = 0) const;
/external/perfetto/src/profiling/memory/
Dheapprofd_producer_unittest.cc45 MOCK_METHOD1(CreateTraceWriter, std::unique_ptr<TraceWriter>(BufferID));
/external/perfetto/src/tracing/ipc/producer/
Dproducer_ipc_client_impl.h75 BufferID target_buffer) override;

12