Home
last modified time | relevance | path

Searched refs:PERFETTO_UNLIKELY (Results 1 – 18 of 18) sorted by relevance

/external/perfetto/src/protozero/
Dproto_decoder.cc55 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()
/external/perfetto/src/tracing/core/
Dtrace_buffer.cc119 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 …]
/external/perfetto/src/trace_processor/
Dspan_join_operator_table.cc278 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 …]
Dproto_trace_tokenizer.cc62 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 …]
Dtrace_processor_impl.h109 if (PERFETTO_UNLIKELY(error_.has_value())) in Next()
113 if (PERFETTO_UNLIKELY(ret != SQLITE_ROW && ret != SQLITE_DONE)) { in Next()
Dstring_pool.cc44 if (PERFETTO_UNLIKELY(!ptr)) { in InsertString()
Dproto_trace_parser.cc345 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()
Dtrace_sorter.h273 if (PERFETTO_UNLIKELY(index >= queues_.size())) in GetQueue()
/external/perfetto/src/profiling/memory/
Dsampler.h55 if (PERFETTO_UNLIKELY(alloc_sz >= sampling_interval_)) in SampleSize()
74 while (PERFETTO_UNLIKELY(interval_to_next_sample_ <= 0)) { in NumberOfSamples()
Dmalloc_hooks.cc339 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()
Dclient.cc256 if (PERFETTO_UNLIKELY(getpid() != pid_at_creation_)) { in RecordMalloc()
336 if (PERFETTO_UNLIKELY(getpid() != pid_at_creation_)) { in FlushFreesLocked()
Dshared_ring_buffer.h119 if (PERFETTO_UNLIKELY(!lock.locked())) in AcquireLock()
Dshared_ring_buffer.cc189 if (PERFETTO_UNLIKELY(size_with_header < size)) { in BeginWrite()
/external/perfetto/include/perfetto/base/
Dlogging.h160 if (PERFETTO_UNLIKELY(!(x))) { \
190 if (PERFETTO_UNLIKELY(!(x))) { \
Dutils.h39 #define PERFETTO_UNLIKELY(_x) __builtin_expect(!!(_x), 0) macro
Dcircular_queue.h198 if (PERFETTO_UNLIKELY(size() >= capacity_)) in emplace_back()
/external/perfetto/include/perfetto/protozero/
Dproto_utils.h211 if (PERFETTO_UNLIKELY(pos >= end)) { in ParseVarInt()
/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader.cc585 if (PERFETTO_UNLIKELY(info.proto_field_id == in ParseEvent()