Home
last modified time | relevance | path

Searched refs:thread_ref (Results 1 – 9 of 9) sorted by relevance

/system/ulib/trace-engine/include/trace-engine/
A Dcontext.h314 const trace_thread_ref_t* thread_ref,
333 const trace_thread_ref_t* thread_ref,
355 const trace_thread_ref_t* thread_ref,
378 const trace_thread_ref_t* thread_ref,
397 const trace_thread_ref_t* thread_ref,
416 const trace_thread_ref_t* thread_ref,
437 const trace_thread_ref_t* thread_ref,
459 const trace_thread_ref_t* thread_ref,
481 const trace_thread_ref_t* thread_ref,
503 const trace_thread_ref_t* thread_ref,
[all …]
A Dtypes.h157 static inline bool trace_is_unknown_thread_ref(const trace_thread_ref_t* thread_ref) { in trace_is_unknown_thread_ref() argument
158 return thread_ref->encoded_value == TRACE_ENCODED_THREAD_REF_INLINE && in trace_is_unknown_thread_ref()
159 thread_ref->inline_process_koid == ZX_KOID_INVALID && in trace_is_unknown_thread_ref()
160 thread_ref->inline_thread_koid == ZX_KOID_INVALID; in trace_is_unknown_thread_ref()
164 static inline bool trace_is_indexed_thread_ref(const trace_thread_ref_t* thread_ref) { in trace_is_indexed_thread_ref() argument
165 return thread_ref->encoded_value >= TRACE_ENCODED_THREAD_REF_MIN_INDEX && in trace_is_indexed_thread_ref()
166 thread_ref->encoded_value <= TRACE_ENCODED_THREAD_REF_MAX_INDEX; in trace_is_indexed_thread_ref()
170 static inline bool trace_is_inline_thread_ref(const trace_thread_ref_t* thread_ref) { in trace_is_inline_thread_ref() argument
171 return thread_ref->encoded_value == TRACE_ENCODED_THREAD_REF_INLINE && in trace_is_inline_thread_ref()
172 (thread_ref->inline_process_koid != ZX_KOID_INVALID || in trace_is_inline_thread_ref()
[all …]
/system/ulib/trace-engine/
A Dcontext_api.cpp105 trace_thread_ref_t thread_ref{}; member
127 trace_thread_ref_t thread_ref{}; member
233 return trace_is_inline_thread_ref(thread_ref) || trace_is_unknown_thread_ref(thread_ref) in SizeOfEncodedThreadRef()
336 if (trace_is_inline_thread_ref(thread_ref) || trace_is_unknown_thread_ref(thread_ref)) { in WriteThreadRef()
416 const trace_thread_ref_t* thread_ref, in WriteEventRecordBase() argument
438 .WriteThreadRef(thread_ref) in WriteEventRecordBase()
618 *out_ref = cache->thread_ref; in trace_context_register_current_thread()
644 *out_ref = cache->thread_ref; in trace_context_register_current_thread()
686 *out_ref = entry->thread_ref; in trace_context_register_vthread()
712 *out_ref = entry->thread_ref; in trace_context_register_vthread()
[all …]
/system/ulib/trace/
A Devent.cpp13 trace_context_register_current_thread(context, &thread_ref); in EventHelper()
18 trace_thread_ref_t thread_ref; member
44 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_instant_event_record_and_release_context()
58 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_counter_event_record_and_release_context()
71 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_duration_begin_event_record_and_release_context()
84 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_duration_end_event_record_and_release_context()
98 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_async_begin_event_record_and_release_context()
112 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_async_instant_event_record_and_release_context()
126 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_async_end_event_record_and_release_context()
140 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_flow_begin_event_record_and_release_context()
[all …]
/system/ulib/trace-vthread/
A Devent_vthread.cpp20 context, ZX_KOID_INVALID, vthread_literal, vthread_id, &thread_ref); in VThreadEventHelper()
25 trace_thread_ref_t thread_ref; member
48 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_vthread_duration_begin_event_record_and_release_context()
65 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_vthread_duration_end_event_record_and_release_context()
83 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_vthread_flow_begin_event_record_and_release_context()
101 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_vthread_flow_step_event_record_and_release_context()
119 context, helper.ticks, &helper.thread_ref, category_ref, &helper.name_ref, in trace_internal_write_vthread_flow_end_event_record_and_release_context()
/system/ulib/perftest/
A Drunner.cpp177 trace_thread_ref_t thread_ref; in WriteTraceEvents() local
178 trace_context_register_current_thread(context, &thread_ref); in WriteTraceEvents()
184 &thread_ref, &category_ref, name_ref, nullptr, 0); in WriteTraceEvents()
187 &thread_ref, &category_ref, name_ref, nullptr, 0); in WriteTraceEvents()
/system/ulib/trace-reader/
A Dreader.cpp215 auto thread_ref = EventRecordFields::ThreadRef::Get<trace_encoded_thread_ref_t>(header); in ReadEventRecord() local
227 !DecodeThreadRef(record, thread_ref, &process_thread) || in ReadEventRecord()
418 auto thread_ref = LogRecordFields::ThreadRef::Get<trace_encoded_thread_ref_t>(header); in ReadLogRecord() local
423 !DecodeThreadRef(record, thread_ref, &process_thread) || in ReadLogRecord()
622 trace_encoded_thread_ref_t thread_ref, in DecodeThreadRef() argument
624 if (thread_ref == TRACE_ENCODED_THREAD_REF_INLINE) { in DecodeThreadRef()
635 auto it = current_provider_->thread_table.find(thread_ref); in DecodeThreadRef()
638 thread_ref)); in DecodeThreadRef()
/system/utest/trace/
A Devent_tests_common.h1088 trace_thread_ref_t thread_ref; local
1097 trace_context_register_current_thread(context, &thread_ref);
1105 context, zx_ticks_get(), &thread_ref, &category_ref,
1113 context, zx_ticks_get(), &thread_ref, &category_ref,
1121 context, zx_ticks_get(), &thread_ref, &category_ref,
/system/ulib/trace-reader/include/trace-reader/
A Dreader.h102 trace_encoded_thread_ref_t thread_ref,

Completed in 32 milliseconds