Home | History | Annotate | Download | only in tsan

Lines Matching full:arg0

689 #define FAST_WRAP_PARAM1 FAST_WRAP_PARAM0, ADDRINT arg0
703 Printf("T%d %s pc=%p sp=%p *sp=(%p) arg0=%p stack_size=%ld\n",\
706 arg0,\
725 uintptr_t arg0, uintptr_t arg1, \
734 AFUNPTR f, uintptr_t arg0, uintptr_t arg1,
740 PIN_PARG(uintptr_t), arg0,
749 AFUNPTR f, uintptr_t arg0, uintptr_t arg1,
756 PIN_PARG(uintptr_t), arg0,
766 #define CALL_ME_INSIDE_WRAPPER_4() CallFun4(ctx, tid, f, arg0, arg1, arg2, arg3)
767 #define CALL_ME_INSIDE_WRAPPER_6() CallFun6(ctx, tid, f, arg0, arg1, arg2, arg3, arg4, arg5)
882 const char *query = (const char*)arg0;
1033 pthread_t child_ptid = *(pthread_t*)arg0;
1302 Printf("T%d in pthread_join %p\n", tid, arg0);
1303 pthread_t joined_ptid = (pthread_t)arg0;
1307 Printf("T%d out pthread_join %p\n", tid, arg0);
1312 void* p = (void*)arg0;
1325 AFUNPTR f, uintptr_t arg0) {
1330 PIN_PARG(uintptr_t), arg0,
1336 AFUNPTR f, uintptr_t arg0, uintptr_t arg1) {
1341 PIN_PARG(uintptr_t), arg0,
1348 AFUNPTR f, uintptr_t arg0, uintptr_t arg1,
1354 PIN_PARG(uintptr_t), arg0,
1362 AFUNPTR f, uintptr_t arg0, uintptr_t arg1,
1368 PIN_PARG(uintptr_t), arg0,
1377 AFUNPTR f, uintptr_t arg0, uintptr_t arg1,
1384 PIN_PARG(uintptr_t), arg0,
1394 AFUNPTR f, uintptr_t arg0, uintptr_t arg1,
1401 PIN_PARG(uintptr_t), arg0,
1412 AFUNPTR f, uintptr_t arg0, uintptr_t arg1,
1420 PIN_PARG(uintptr_t), arg0,
1432 // Printf("T%d %s arg0=%p\n", tid, __FUNCTION__, arg0);
1433 DumpEvent(ctx, SIGNAL, tid, pc, arg0, 0);
1434 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1438 // Printf("T%d pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0);
1439 DumpEvent(ctx, LOCK_CREATE, tid, pc, arg0, 0);
1441 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1446 // Printf("T%d pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0);
1447 DumpEvent(ctx, LOCK_CREATE, tid, pc, arg0, 0);
1449 uintptr_t ret = CallStdCallFun2(ctx, tid, f, arg0, arg1);
1454 // Printf("T%d pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0);
1455 DumpEvent(ctx, LOCK_CREATE, tid, pc, arg0, 0);
1457 uintptr_t ret = CallStdCallFun3(ctx, tid, f, arg0, arg1, arg2);
1462 // Printf("T%d pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0);
1463 DumpEvent(ctx, LOCK_DESTROY, tid, pc, arg0, 0);
1465 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1470 // Printf("T%d pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0);
1471 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1472 DumpEvent(ctx, WRITER_LOCK, tid, pc, arg0, 0);
1476 // Printf("T%d pc=%p %s: %p\n", tid, pc, __FUNCTION__+5, arg0);
1477 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1479 DumpEvent(ctx, WRITER_LOCK, tid, pc, arg0, 0);
1484 // Printf("T%d pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0);
1485 DumpEvent(ctx, UNLOCK, tid, pc, arg0, 0);
1486 return CallStdCallFun1(ctx, tid, f, arg0);
1492 return CallStdCallFun7(ctx, tid, f, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
1496 //Printf("T%d before pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0);
1497 DumpEvent(ctx, SIGNAL, tid, pc, arg0, 0);
1498 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1499 //Printf("T%d after pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0);
1509 return CallStdCallFun4(ctx, tid, f, arg0, arg1, arg2, arg3);
1513 return InternalWrapCreateSemaphore(tid, pc, ctx, f, arg0, arg1, arg2, arg3);
1517 return InternalWrapCreateSemaphore(tid, pc, ctx, f, arg0, arg1, arg2, arg3);
1521 DumpEvent(ctx, SIGNAL, tid, pc, arg0, 0);
1522 return CallStdCallFun3(ctx, tid, f, arg0, arg1, arg2);
1527 uintptr_t ret = CallStdCallFun2(ctx, tid, f, arg0, arg1);
1528 // Printf("T%d %s list=%p item=%p\n", tid, __FUNCTION__, arg0, arg1);
1533 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1534 // Printf("T%d %s list=%p item=%p\n", tid, __FUNCTION__, arg0, ret);
1542 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1543 DumpEvent(ctx, WRITER_LOCK, tid, pc, arg0, 0);
1547 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1548 DumpEvent(ctx, READER_LOCK, tid, pc, arg0, 0);
1552 // Printf("T%d %s %p\n", tid, __FUNCTION__, arg0);
1553 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1555 DumpEvent(ctx, WRITER_LOCK, tid, pc, arg0, 0);
1560 // Printf("T%d %s %p\n", tid, __FUNCTION__, arg0);
1561 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1563 DumpEvent(ctx, READER_LOCK, tid, pc, arg0, 0);
1568 // Printf("T%d %s %p\n", tid, __FUNCTION__, arg0);
1569 DumpEvent(ctx, UNLOCK, tid, pc, arg0, 0);
1570 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1574 // Printf("T%d %s %p\n", tid, __FUNCTION__, arg0);
1575 DumpEvent(ctx, UNLOCK, tid, pc, arg0, 0);
1576 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1580 // Printf("T%d %s %p\n", tid, __FUNCTION__, arg0);
1581 DumpEvent(ctx, LOCK_CREATE, tid, pc, arg0, 0);
1582 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1587 // Printf("T%d %s arg0=%p\n", tid, __FUNCTION__, arg0);
1588 DumpEvent(ctx, SIGNAL, tid, pc, arg0, 0);
1589 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1593 // Printf("T%d %s arg0=%p\n", tid, __FUNCTION__, arg0);
1594 DumpEvent(ctx, SIGNAL, tid, pc, arg0, 0);
1595 uintptr_t ret = CallStdCallFun1(ctx, tid, f, arg0);
1601 uintptr_t ret = CallStdCallFun4(ctx, tid, f, arg0, arg1, arg2, arg3);
1603 DumpEvent(ctx, WAIT, tid, pc, arg0, 0);
1604 // Printf("T%d %s arg0=%p arg1=%p; ret=%d\n", tid, __FUNCTION__, arg0, arg1, ret);
1609 uintptr_t ret = CallStdCallFun3(ctx, tid, f, arg0, arg1, arg2);
1611 DumpEvent(ctx, WAIT, tid, pc, arg0, 0);
1612 // Printf("T%d %s arg0=%p arg1=%p; ret=%d\n", tid, __FUNCTION__, arg0, arg1, ret);
1617 // Printf("T%d %s arg0=%p arg1=%p; arg2=%d\n", tid, __FUNCTION__, arg0, arg1, arg2);
1618 g_windows_thread_pool_calback_set->insert(arg0);
1619 DumpEvent(ctx, SIGNAL, tid, pc, arg0, 0);
1620 uintptr_t ret = CallStdCallFun3(ctx, tid, f, arg0, arg1, arg2);
1625 // Printf("T%d %s arg0=%p arg2=%p\n", tid, __FUNCTION__, arg0, arg2);
1628 uintptr_t ret = CallStdCallFun6(ctx, tid, f, arg0, arg1, arg2, arg3, arg4, arg5);
1630 uintptr_t wait_object = *(uintptr_t*)arg0;
1632 // Printf("T%d %s *arg0=%p\n", tid, __FUNCTION__, wait_object);
1639 uintptr_t obj = (*g_windows_thread_pool_wait_object_map)[arg0];
1640 // Printf("T%d %s arg0=%p obj=%p\n", tid, __FUNCTION__, arg0, obj);
1641 uintptr_t ret = CallStdCallFun2(ctx, tid, f, arg0, arg1);
1649 // Printf("T%d VirtualAlloc: %p %p %p %p\n", tid, arg0, arg1, arg2, arg3);
1650 uintptr_t ret = CallStdCallFun4(ctx, tid, f, arg0, arg1, arg2, arg3);
1655 uintptr_t ret = CallStdCallFun2(ctx, tid, f, arg0, arg1);
1656 // Printf("T%d %s(%p %p)=%p\n", tid, __FUNCTION__, arg0, arg1, ret);
1664 // Printf("T%d >>%s(%p %p %p %p %p %p)\n", tid, __FUNCTION__, arg0, arg1, arg2, arg3, arg4, arg5);
1665 uintptr_t ret = CallStdCallFun6(ctx, tid, f, arg0, arg1, arg2, arg3, arg4, arg5);
1674 uintptr_t ret = CallStdCallFun3(ctx, tid, f, arg0, arg1, arg2);
1675 // Printf("T%d RtlAllocateHeap(%p %p %p)=%p\n", tid, arg0, arg1, arg2, ret);
1683 uintptr_t ret = CallStdCallFun3(ctx, tid, f, arg0, arg1, arg2);
1684 Printf("T%d %s(%p %p %p)=%p\n", tid, __FUNCTION__, arg0, arg1, arg2, ret);
1695 Printf("arg0=%lx arg1=%lx\n", arg0, arg1);
1698 //Printf("T%d before pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0, arg1);
1699 uintptr_t ret = CallStdCallFun3(ctx, tid, f, arg0, arg1, arg2);
1700 //Printf("T%d after pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0, arg1);
1707 is_thread_handle = g_win_handles_which_are_threads->count(arg0) > 0;
1708 g_win_handles_which_are_threads->erase(arg0);
1712 HandleThreadJoinAfter(tid, arg0);
1713 DumpEvent(ctx, WAIT, tid, pc, arg0, 0);
1722 Printf("arg0=%lx arg1=%lx arg2=%lx arg3=%lx\n", arg0, arg1, arg2, arg3);
1725 //Printf("T%d before pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0, arg1);
1726 uintptr_t ret = CallStdCallFun5(ctx, tid, f, arg0, arg1, arg2, arg3, arg4);
1727 //Printf("T%d after pc=%p %s: %p\n", tid, pc, __FUNCTION__+8, arg0, arg1);
1729 if (ret >= WAIT_OBJECT_0_ && ret < WAIT_OBJECT_0_ + arg0) {
1735 count = arg0;
1778 DumpEvent(ctx, MUNMAP, tid, pc, arg0, arg1);
1794 PUSH_AFTER_CALLBACK1(After_malloc, arg0);
1804 DumpEvent(0, FREE, tid, pc, arg0, 0);
1806 PUSH_AFTER_CALLBACK1(After_free, arg0);
1811 PUSH_AFTER_CALLBACK1(After_malloc, arg0 * arg1);
1854 DumpEvent(ctx, MALLOC, tid, pc, ret, arg0);
1875 DumpEvent(ctx, MALLOC, tid, pc, ret, arg0*arg1);
1880 DumpEvent(ctx, FREE, tid, pc, arg0, 0);
2108 PUSH_AFTER_CALLBACK1(After_pthread_mutex_lock, arg0);
2131 DumpEvent(ctx, WRITER_LOCK, tid, pc, arg0, 0);
2138 DumpEvent(ctx, WRITER_LOCK, tid, pc, arg0, 0);
2144 DumpEvent(ctx, READER_LOCK, tid, pc, arg0, 0);
2151 DumpEvent(ctx, WRITER_LOCK, tid, pc, arg0, 0);
2158 DumpEvent(ctx, WRITER_LOCK, tid, pc, arg0, 0);
2163 DumpEvent(ctx, UNLOCK_OR_INIT, tid, pc, arg0, 0);
2168 DumpEvent(ctx, LOCK_DESTROY, tid, pc, arg0, 0);
2173 DumpEvent(ctx, UNLOCK_OR_INIT, tid, pc, arg0, 0);
2181 DumpEvent(ctx, WRITER_LOCK, tid, pc, arg0, 0);
2188 DumpEvent(ctx, READER_LOCK, tid, pc, arg0, 0);
2209 DumpEvent(ctx, CYCLIC_BARRIER_INIT, tid, pc, arg0, arg2);
2214 DumpEvent(ctx, CYCLIC_BARRIER_WAIT_BEFORE, tid, pc, arg0, 0);
2216 DumpEvent(ctx, CYCLIC_BARRIER_WAIT_AFTER, tid, pc, arg0, 0);
2229 DumpEvent(ctx, WAIT, tid, pc, arg0, 0);
2237 DumpEvent(ctx, WAIT, tid, pc, arg0, 0);
2265 DumpEvent(ctx, WAIT, tid, pc, arg0, 0);
2271 DumpEvent(ctx, WAIT, tid, pc, arg0, 0);
2282 DumpEvent(ctx, UNLOCK, tid, pc, arg0 ^ offset_magic, 0);
2287 DumpEvent(ctx, WRITER_LOCK, tid, pc, arg0 ^ offset_magic, 0);