Searched refs:PERFETTO_LIKELY (Results 1 – 25 of 29) sorted by relevance
12
34 #define PERFETTO_LIKELY(_x) __builtin_expect(!!(_x), 1) macro37 #define PERFETTO_LIKELY(_x) (_x) macro
264 if (PERFETTO_LIKELY((enabled_tags & tag) == 0)) in TraceCounter()278 if (PERFETTO_LIKELY((enabled_tags & tag) == 0)) in ScopedEvent()287 if (PERFETTO_LIKELY(!record_)) in ~ScopedEvent()
355 if (PERFETTO_LIKELY(!next_chunk.is_padding)) { in DeleteNextChunksFor()359 if (PERFETTO_LIKELY(it != index_.end())) { in DeleteNextChunksFor()674 if (PERFETTO_LIKELY(result == ReadPacketResult::kSucceeded)) { in ReadNextTracePacket()787 if (PERFETTO_LIKELY((*read_iter_).num_fragments > 0)) { in ReadAhead()831 if (PERFETTO_LIKELY(chunk_meta->is_complete())) { in ReadNextPacketInChunk()865 if (PERFETTO_LIKELY(chunk_meta->is_complete())) { in ReadNextPacketInChunk()895 if (PERFETTO_LIKELY(packet)) in ReadNextPacketInChunk()
147 if (PERFETTO_LIKELY(!drop_packets_)) { in NewTracePacket()
598 if (PERFETTO_LIKELY(src)) { in WriteChunkRecord()
107 if (PERFETTO_LIKELY(size < kCapacity / 2)) in AppendNewRecord()125 if (PERFETTO_LIKELY(size < kCapacity)) in AppendNewRecord()
143 if (PERFETTO_LIKELY(!record_)) in ~ScopedEvent()161 if (PERFETTO_LIKELY(!g_enabled))
192 if (PERFETTO_LIKELY(timestamp >= max_ts_)) { in Append()
41 if (PERFETTO_LIKELY(serialized_interned_data.empty())) in ~EventContext()
53 PERFETTO_LIKELY( in LockSlow()
53 if (PERFETTO_LIKELY( in ScopedSpinlock()
63 if (PERFETTO_LIKELY(*pos < 0x80)) { // Fastpath for fields with ID < 16. in ParseOneField()201 if (PERFETTO_LIKELY(!fld->valid())) { in ParseAllFields()
96 if (PERFETTO_LIKELY(prev_pid_match_prev_next_pid)) { in PushSchedSwitch()200 if (PERFETTO_LIKELY(context_->config.ingest_ftrace_in_raw_table)) { in AddRawEventAndStartSlice()292 if (PERFETTO_LIKELY(context_->config.ingest_ftrace_in_raw_table)) { in PushSchedWakingCompact()
82 if (PERFETTO_LIKELY(length > 10 && data[0] == timestampFieldTag)) { in TokenizeFtraceEvent()
75 if (PERFETTO_LIKELY(end <= cur_range_.end)) in WriteBytes()
285 return PERFETTO_LIKELY(id < num_fields_) ? fields_[id] : fields_[0]; in Get()
87 if (PERFETTO_LIKELY(old_block == new_block)) in SetIndex()
116 if (PERFETTO_LIKELY(str_size > 0)) { in TryInsert()
131 if (PERFETTO_LIKELY(!old_value)) { in Set()150 if (PERFETTO_LIKELY(old_value)) { in Clear()
94 if (PERFETTO_LIKELY(pid_bit < pids_cache.size())) { in AddPid()
182 if (PERFETTO_LIKELY(index_for_field->index_.LookUpOrInsert(&iid, value))) { in Get()
290 if (PERFETTO_LIKELY(!instances))
164 if (PERFETTO_LIKELY(!it_and_inserted.second)) in WriteTrackDescriptorIfNeeded()
166 if (PERFETTO_LIKELY(!cache_lookups_disabled_for_testing_)) { in Convert()
210 if (PERFETTO_LIKELY(field_id < num_directly_indexed)) { in Query()