Home
last modified time | relevance | path

Searched refs:drd_tid (Results 1 – 8 of 8) sorted by relevance

/external/valgrind/main/drd/
Ddrd_clientreq.c76 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in handle_client_request() local
79 tl_assert(DRD_(VgThreadIdToDrdThreadId)(vg_tid) == drd_tid); in handle_client_request()
136 result = drd_tid; in handle_client_request()
140 DRD_(thread_set_name)(drd_tid, (const char*)arg[1]); in handle_client_request()
156 DRD_(hb_happens_before)(drd_tid, arg[1]); in handle_client_request()
160 DRD_(hb_happens_after)(drd_tid, arg[1]); in handle_client_request()
232 DRD_(thread_set_record_loads)(drd_tid, arg[1]); in handle_client_request()
236 DRD_(thread_set_record_stores)(drd_tid, arg[1]); in handle_client_request()
242 DRD_(thread_set_pthreadid)(drd_tid, arg[1]); in handle_client_request()
262 DRD_(thread_entering_pthread_create)(drd_tid); in handle_client_request()
[all …]
Ddrd_main.c511 DrdThreadId drd_tid; in drd_pre_deliver_signal() local
513 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in drd_pre_deliver_signal()
514 DRD_(thread_set_on_alt_stack)(drd_tid, alt_stack); in drd_pre_deliver_signal()
534 DrdThreadId drd_tid; in drd_post_deliver_signal() local
536 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in drd_post_deliver_signal()
537 DRD_(thread_set_on_alt_stack)(drd_tid, False); in drd_post_deliver_signal()
610 DrdThreadId drd_tid; in drd_thread_finished() local
614 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in drd_thread_finished()
617 DRD_(trace_msg)("drd_thread_finished tid = %d%s", drd_tid, in drd_thread_finished()
618 DRD_(thread_get_joinable)(drd_tid) in drd_thread_finished()
[all …]
Ddrd_rwlock.c408 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in DRD_() local
413 DRD_(trace_msg)("[%d] post_rwlock_rdlock 0x%lx", drd_tid, rwlock); in DRD_()
422 q = DRD_(lookup_or_insert_node)(p->thread_info, drd_tid); in DRD_()
425 DRD_(thread_new_segment)(drd_tid); in DRD_()
427 DRD_(rwlock_combine_other_vc)(p, drd_tid, False); in DRD_()
474 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in DRD_() local
481 DRD_(trace_msg)("[%d] post_rwlock_wrlock 0x%lx", drd_tid, rwlock); in DRD_()
491 DRD_(thread_new_segment)(drd_tid); in DRD_()
493 DRD_(rwlock_combine_other_vc)(p, drd_tid, True); in DRD_()
510 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in DRD_() local
[all …]
Ddrd_mutex.c288 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in DRD_() local
295 drd_tid, in DRD_()
306 if (p->owner != drd_tid && p->owner != DRD_INVALID_THREADID) in DRD_()
310 DRD_(thread_new_segment_and_combine_vc)(drd_tid, in DRD_()
314 DRD_(thread_new_segment)(drd_tid); in DRD_()
318 p->owner = drd_tid; in DRD_()
322 } else if (p->owner != drd_tid) { in DRD_()
332 p->owner = drd_tid; in DRD_()
350 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in DRD_() local
360 drd_tid, p ? DRD_(mutex_get_typename)(p) : "(?)", in DRD_()
[all …]
Ddrd_hb.c161 const DrdThreadId drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in DRD_() local
189 DRD_(thread_new_segment)(drd_tid); in DRD_()
Ddrd_cond.c306 const DrdThreadId drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in cond_signal() local
313 && ! DRD_(mutex_is_locked_by)(cond_p->mutex, drd_tid)) in cond_signal()
Ddrd_thread.c681 const DrdThreadId drd_tid) in DRD_()
684 tl_assert(drd_tid != DRD_INVALID_THREADID); in DRD_()
694 DRD_(g_drd_running_tid), drd_tid, in DRD_()
698 DRD_(g_drd_running_tid) = drd_tid; in DRD_()
699 thread_compute_conflict_set(&DRD_(g_conflict_set), drd_tid); in DRD_()
Ddrd_thread.h165 const DrdThreadId drd_tid);