Searched refs:PERFETTO_UNLIKELY (Results 1 – 18 of 18) sorted by relevance
55 if (PERFETTO_UNLIKELY(pos >= end)) in ParseOneField()82 if (PERFETTO_UNLIKELY(new_pos == pos)) in ParseOneField()91 if (PERFETTO_UNLIKELY(new_pos == pos)) in ParseOneField()111 if (PERFETTO_UNLIKELY(new_pos > end)) in ParseOneField()119 if (PERFETTO_UNLIKELY(new_pos > end)) in ParseOneField()130 if (PERFETTO_UNLIKELY(field_id > std::numeric_limits<uint16_t>::max())) { in ParseOneField()175 if (PERFETTO_UNLIKELY(field_id >= num_fields_)) in ParseAllFields()192 if (PERFETTO_UNLIKELY(size_ >= capacity_)) { in ParseAllFields()
119 if (PERFETTO_UNLIKELY(record_size > max_chunk_size_)) { in CopyChunkUntrusted()134 if (PERFETTO_UNLIKELY(!chunk_complete)) { in CopyChunkUntrusted()155 if (PERFETTO_UNLIKELY(it != index_.end())) { in CopyChunkUntrusted()163 if (PERFETTO_UNLIKELY(ChunkMeta::Key(*prev) != key || in CopyChunkUntrusted()226 if (PERFETTO_UNLIKELY(discard_writes_)) in CopyChunkUntrusted()232 if (PERFETTO_UNLIKELY(record_size > cached_size_to_end)) { in CopyChunkUntrusted()339 if (PERFETTO_UNLIKELY(!next_chunk.is_valid())) { in DeleteNextChunksFor()355 if (PERFETTO_UNLIKELY(meta.num_fragments_read < meta.num_fragments)) { in DeleteNextChunksFor()569 if (PERFETTO_UNLIKELY(!read_iter_.is_valid())) { in ReadNextTracePacket()573 if (PERFETTO_UNLIKELY(read_iter_.seq_end == index_.end())) in ReadNextTracePacket()[all …]
278 if (PERFETTO_UNLIKELY(res.is_err())) in Filter()291 if (PERFETTO_UNLIKELY(res.is_err())) in Filter()296 if (PERFETTO_UNLIKELY(res.is_err())) in Filter()332 if (PERFETTO_UNLIKELY(res.is_err())) in Next()334 else if (PERFETTO_UNLIKELY(res.is_eof())) in Next()338 if (PERFETTO_UNLIKELY(res.is_err())) in Next()340 else if (PERFETTO_UNLIKELY(res.is_eof())) in Next()346 if (PERFETTO_UNLIKELY(res.is_err())) in Next()348 else if (PERFETTO_UNLIKELY(res.is_eof())) in Next()352 if (PERFETTO_UNLIKELY(res.is_err())) in Next()[all …]
62 if (PERFETTO_UNLIKELY(!field)) { in InternMessage()94 if (PERFETTO_UNLIKELY(packet_decoder.FindField( in GuessProtoTraceType()112 if (PERFETTO_UNLIKELY(partial_buf_.size() < kHeaderBytes)) { in Parse()237 if (PERFETTO_UNLIKELY(!packet_decoder.has_trusted_packet_sequence_id())) { in HandleIncrementalStateCleared()250 if (PERFETTO_UNLIKELY(!packet_decoder.has_trusted_packet_sequence_id())) { in HandlePreviousPacketDropped()263 if (PERFETTO_UNLIKELY(!packet_decoder.has_trusted_packet_sequence_id())) { in ParseInternedData()303 if (PERFETTO_UNLIKELY(!packet_decoder.has_trusted_packet_sequence_id())) { in ParseThreadDescriptorPacket()347 if (PERFETTO_UNLIKELY(!packet_decoder.has_trusted_packet_sequence_id())) { in ParseTrackEventPacket()403 if (PERFETTO_UNLIKELY(!decoder.has_cpu())) { in ParseFtraceBundle()410 if (PERFETTO_UNLIKELY(cpu > base::kMaxCpus)) { in ParseFtraceBundle()[all …]
109 if (PERFETTO_UNLIKELY(error_.has_value())) in Next()113 if (PERFETTO_UNLIKELY(ret != SQLITE_ROW && ret != SQLITE_DONE)) { in Next()
44 if (PERFETTO_UNLIKELY(!ptr)) { in InsertString()
345 if (PERFETTO_UNLIKELY(key >= meminfo_strs_id_.size())) { in ParseSysStats()358 if (PERFETTO_UNLIKELY(key >= vmstat_strs_id_.size())) { in ParseSysStats()369 if (PERFETTO_UNLIKELY(!ct.has_cpu_id())) { in ParseSysStats()873 if (PERFETTO_UNLIKELY(idx > 256)) { in ParsePowerRails()1006 if (PERFETTO_UNLIKELY(fld.id() >= kMaxFtraceEventFields)) { in ParseTypedFtraceToRaw()1411 if (PERFETTO_UNLIKELY(!legacy_event.has_phase())) { in ParseTrackEvent()
273 if (PERFETTO_UNLIKELY(index >= queues_.size())) in GetQueue()
55 if (PERFETTO_UNLIKELY(alloc_sz >= sampling_interval_)) in SampleSize()74 while (PERFETTO_UNLIKELY(interval_to_next_sample_ <= 0)) { in NumberOfSamples()
339 if (PERFETTO_UNLIKELY(!s.locked())) in ShutdownLazy()377 if (PERFETTO_UNLIKELY(!s.locked())) in HEAPPROFD_ADD_PREFIX()409 if (PERFETTO_UNLIKELY(!s.locked())) in HEAPPROFD_ADD_PREFIX()441 if (PERFETTO_UNLIKELY(!s.locked())) in MaybeSampleAllocation()508 if (PERFETTO_UNLIKELY(!s.locked())) in HEAPPROFD_ADD_PREFIX()536 if (PERFETTO_UNLIKELY(!s.locked())) in HEAPPROFD_ADD_PREFIX()
256 if (PERFETTO_UNLIKELY(getpid() != pid_at_creation_)) { in RecordMalloc()336 if (PERFETTO_UNLIKELY(getpid() != pid_at_creation_)) { in FlushFreesLocked()
119 if (PERFETTO_UNLIKELY(!lock.locked())) in AcquireLock()
189 if (PERFETTO_UNLIKELY(size_with_header < size)) { in BeginWrite()
160 if (PERFETTO_UNLIKELY(!(x))) { \190 if (PERFETTO_UNLIKELY(!(x))) { \
39 #define PERFETTO_UNLIKELY(_x) __builtin_expect(!!(_x), 0) macro
198 if (PERFETTO_UNLIKELY(size() >= capacity_)) in emplace_back()
211 if (PERFETTO_UNLIKELY(pos >= end)) { in ParseVarInt()
585 if (PERFETTO_UNLIKELY(info.proto_field_id == in ParseEvent()