Analysis of sampling pid 7224 every 10.000000 milliseconds Call graph: 965 Thread_0133 965 0x23a0 965 0x2500 965 0x2d8c 965 0x48dc 965 Tcl_Eval 965 Tcl_EvalEx 965 TclEvalObjvInternal 965 0x118d4 965 0xe49c 965 Tcl_EvalObjv 965 TclEvalObjvInternal 612 0x11b2c 611 0x1048c 598 0x141ac 598 Tcl_DoOneEvent 543 Tcl_WaitForEvent 427 Tcl_ConditionWait 427 pthread_cond_wait 423 semaphore_wait_signal_trap 423 semaphore_wait_signal_trap 2 new_sem_from_pool 2 new_sem_from_pool 2 pthread_cond_wait 108 write 108 write 3 Tcl_WaitForEvent 2 Tcl_GetThreadData 1 dyld_stub_TclpThreadDataKeyGet 1 dyld_stub_TclpThreadDataKeyGet 1 dyld_stub_pthread_getspecific 1 dyld_stub_pthread_getspecific 1 dyld_stub_Tcl_ConditionWait 1 dyld_stub_Tcl_ConditionWait 1 pthread_mutex_lock 1 pthread_mutex_lock 1 pthread_mutex_unlock 1 __spin_lock 1 __spin_lock 27 Tcl_ServiceEvent 15 TimerHandlerEventProc 6 Tcl_GetTime 6 gettimeofday 4 __gettimeofday 4 __gettimeofday 1 __ppc_gettimeofday 1 __ppc_gettimeofday 1 gettimeofday 3 TimerHandlerEventProc 2 InitTimer 1 dyld_stub_TclpThreadDataKeyGet 1 dyld_stub_TclpThreadDataKeyGet 1 dyld_stub_pthread_getspecific 1 dyld_stub_pthread_getspecific 2 dyld_stub_TclpFree 2 dyld_stub_TclpFree 1 TclpFree 1 __pthread_getspecific 1 __pthread_getspecific 1 TimerSetupProc 1 InitTimer 1 __pthread_getspecific 1 __pthread_getspecific 4 Tcl_AsyncReady 4 Tcl_GetThreadData 4 __pthread_getspecific 4 __pthread_getspecific 4 Tcl_GetThreadData 2 Tcl_GetThreadData 1 TclpThreadDataKeyGet 1 TclpThreadDataKeyGet 1 __pthread_getspecific 1 __pthread_getspecific 2 pthread_mutex_lock 1 __spin_unlock 1 __spin_unlock 1 pthread_mutex_lock 1 Tcl_GetTime 1 Tcl_GetTime 1 dyld_stub_Tcl_AsyncReady 1 dyld_stub_Tcl_AsyncReady 17 TimerCheckProc 7 Tcl_GetTime 6 gettimeofday 4 __gettimeofday 4 __gettimeofday 2 gettimeofday 1 Tcl_GetTime 4 Tcl_Alloc 3 TclpAlloc 1 TclpAlloc 1 __pthread_getspecific 1 __pthread_getspecific 1 dyld_stub_TclpGetAllocCache 1 dyld_stub_TclpGetAllocCache 1 dyld_stub_TclpAlloc 1 dyld_stub_TclpAlloc 3 InitTimer 2 __pthread_getspecific 2 __pthread_getspecific 1 TclpThreadDataKeyGet 1 TclpThreadDataKeyGet 1 Tcl_GetThreadData 1 Tcl_GetThreadData 1 Tcl_QueueEvent 1 Tcl_GetThreadData 1 dyld_stub_pthread_getspecific 1 dyld_stub_pthread_getspecific 1 dyld_stub_Tcl_GetTime 1 dyld_stub_Tcl_GetTime 4 Tcl_DoOneEvent 2 Tcl_GetThreadData 1 Tcl_GetThreadData 1 dyld_stub_TclpThreadDataKeyGet 1 dyld_stub_TclpThreadDataKeyGet 2 TimerSetupProc 2 Tcl_SetMaxBlockTime 1 Tcl_GetThreadData 1 __pthread_getspecific 1 __pthread_getspecific 1 dyld_stub_Tcl_GetThreadData 1 dyld_stub_Tcl_GetThreadData 1 Tcl_AsyncReady 1 Tcl_GetThreadData 1 dyld_stub_pthread_getspecific 1 dyld_stub_pthread_getspecific 1 dyld_stub_Tcl_WaitForEvent 1 dyld_stub_Tcl_WaitForEvent 1 pthread_mutex_unlock 1 pthread_mutex_unlock 9 0x14138 9 Tcl_CreateTimerHandler 3 Tcl_Alloc 1 TclpAlloc 1 pthread_getspecific 1 pthread_getspecific 1 TclpGetAllocCache 1 TclpGetAllocCache 1 dyld_stub_TclpAlloc 1 dyld_stub_TclpAlloc 2 Tcl_CreateTimerHandler 2 Tcl_GetTime 2 gettimeofday 1 __gettimeofday 1 __gettimeofday 1 gettimeofday 1 Tcl_ServiceEvent 1 TclpThreadDataKeyGet 1 TclpThreadDataKeyGet 1 TimerSetupProc 1 Tcl_GetThreadData 1 Tcl_GetThreadData 1 0x13ff0 1 0x13ff0 1 0x13ff4 1 0x13ff4 1 Tcl_CreateChannelHandler 1 Tcl_CreateChannelHandler 1 Tcl_GetThreadData 1 Tcl_GetThreadData 1 0x10580 1 0x71e0 1 Tcl_GetStringFromObj 1 Tcl_GetStringFromObj 272 0x11bd4 240 0xf234 132 0xeda0 132 Tcl_RegExpExecObj 123 RegExpExecUniChar 121 TclReExec 117 find 45 shortest 26 miss 17 miss 9 getvacant 6 pickss 6 pickss 3 getvacant 14 initialize 13 getvacant 7 getvacant 6 pickss 6 pickss 1 initialize 4 shortest 1 getvacant 1 getvacant 42 newdfa 36 Tcl_Alloc 28 TclpAlloc 13 TclpAlloc 9 __pthread_getspecific 9 __pthread_getspecific 3 dyld_stub_pthread_getspecific 3 dyld_stub_pthread_getspecific 2 TclpGetAllocCache 2 TclpGetAllocCache 1 dyld_stub_TclpGetAllocCache 1 dyld_stub_TclpGetAllocCache 4 Tcl_Alloc 3 dyld_stub_TclpAlloc 3 dyld_stub_TclpAlloc 1 Block2Ptr 1 Block2Ptr 3 dyld_stub_Tcl_Alloc 3 dyld_stub_Tcl_Alloc 2 newdfa 1 TclpAlloc 1 TclpAlloc 26 freedfa 18 TclpFree 6 __pthread_getspecific 6 __pthread_getspecific 5 TclpGetAllocCache 5 TclpGetAllocCache 3 TclpFree 2 dyld_stub_pthread_getspecific 2 dyld_stub_pthread_getspecific 1 Ptr2Block 1 Ptr2Block 1 dyld_stub_TclpGetAllocCache 1 dyld_stub_TclpGetAllocCache 3 dyld_stub_Tcl_Free 3 dyld_stub_Tcl_Free 2 Ptr2Block 2 Ptr2Block 1 TclpGetAllocCache 1 TclpGetAllocCache 1 dyld_stub_TclpFree 1 dyld_stub_TclpFree 1 freedfa 2 TclpFree 1 Ptr2Block 1 Ptr2Block 1 TclpGetAllocCache 1 TclpGetAllocCache 1 Tcl_Alloc 1 Tcl_Alloc 1 dyld_stub_Tcl_Free 1 dyld_stub_Tcl_Free 3 TclReExec 1 TclpFree 1 TclpFree 2 find 2 find 4 Tcl_GetUnicodeFromObj 2 SetStringFromAny 2 SetStringFromAny 2 Tcl_GetUnicodeFromObj 2 FillUnicodeRep 2 FillUnicodeRep 2 dyld_stub_Tcl_GetUnicodeFromObj 2 dyld_stub_Tcl_GetUnicodeFromObj 1 Tcl_RegExpExecObj 18 0xf038 14 0xc8d8 13 Tcl_GetThreadData 7 __pthread_getspecific 7 __pthread_getspecific 3 Tcl_GetThreadData 2 dyld_stub_TclpThreadDataKeyGet 2 dyld_stub_TclpThreadDataKeyGet 1 dyld_stub_pthread_getspecific 1 dyld_stub_pthread_getspecific 1 0x29408 1 TclpThreadDataKeyGet 1 TclpThreadDataKeyGet 2 0xc8d0 2 0xc8d0 1 0xc8d4 1 0xc8d4 1 0xc8e0 1 0xc8e0 13 0xee2c 12 0xd7e4 12 Tcl_GetThreadData 8 __pthread_getspecific 8 __pthread_getspecific 2 Tcl_GetThreadData 2 dyld_stub_TclpThreadDataKeyGet 2 dyld_stub_TclpThreadDataKeyGet 1 0xd7cc 1 0xd7cc 13 0xee30 12 0xc8d8 12 Tcl_GetThreadData 6 __pthread_getspecific 6 __pthread_getspecific 2 TclpThreadDataKeyGet 2 TclpThreadDataKeyGet 2 dyld_stub_pthread_getspecific 2 dyld_stub_pthread_getspecific 1 Tcl_GetThreadData 1 dyld_stub_TclpThreadDataKeyGet 1 dyld_stub_TclpThreadDataKeyGet 1 0xc8cc 1 0xc8cc 10 0xee10 7 0xc7f8 7 Tcl_GetThreadData 5 __pthread_getspecific 5 __pthread_getspecific 1 TclpThreadDataKeyGet 1 TclpThreadDataKeyGet 1 dyld_stub_pthread_getspecific 1 dyld_stub_pthread_getspecific 2 0xc800 2 0xc800 1 Tcl_GetThreadData 1 Tcl_GetThreadData 6 0xee3c 6 0xc7f8 6 Tcl_GetThreadData 3 __pthread_getspecific 3 __pthread_getspecific 2 TclpThreadDataKeyGet 2 TclpThreadDataKeyGet 1 Tcl_GetThreadData 6 0xee90 2 0x176f4 1 0x17804 1 0x17804 1 0x17b70 1 0x17b70 2 0x17710 2 0x17710 1 0x17b78 1 0x17b78 1 0x17b80 1 0x17b80 5 0xed18 5 0xc7f8 5 Tcl_GetThreadData 4 __pthread_getspecific 4 __pthread_getspecific 1 dyld_stub_TclpThreadDataKeyGet 1 dyld_stub_TclpThreadDataKeyGet 4 0xed44 2 0xc7f8 2 Tcl_GetThreadData 2 __pthread_getspecific 2 __pthread_getspecific 1 0xc800 1 0xc800 1 0xc808 1 0xc808 3 0xc7c0 3 0xc7c0 3 0xed34 2 0xd7e4 2 Tcl_GetThreadData 1 __pthread_getspecific 1 __pthread_getspecific 1 dyld_stub_TclpThreadDataKeyGet 1 dyld_stub_TclpThreadDataKeyGet 1 0xd7e0 1 0xd7e0 2 0x177b4 2 0x177b4 2 0xc7bc 2 0xc7bc 2 0xecec 2 0xecec 2 Tcl_GetString 2 Tcl_GetString 1 0x1768c 1 0x1768c 1 0xc7b8 1 0xc7b8 1 0xc89c 1 0xc89c 1 0xc8a0 1 0xc8a0 1 0xc8a4 1 0xc8a4 1 0xc960 1 0xc960 1 0xd7b4 1 0xd7b4 1 0xd824 1 0xd824 1 0xec88 1 0xec88 1 0xec94 1 Tcl_GetStringFromObj 1 Tcl_GetStringFromObj 1 0xecd0 1 0xc8d8 1 Tcl_GetThreadData 1 dyld_stub_pthread_getspecific 1 dyld_stub_pthread_getspecific 1 0xed38 1 Tcl_GetThreadData 1 Tcl_GetThreadData 1 0xed74 1 Tcl_GetRegExpFromObj 1 Tcl_GetRegExpFromObj 1 0xee28 1 Tcl_GetString 1 Tcl_GetString 1 0xee54 1 0xee54 1 0xee58 1 Tcl_GetString 1 Tcl_GetString 1 0xf03c 1 0xf03c 1 Tcl_GetRegExpFromObj 1 Tcl_GetRegExpFromObj 1 Tcl_GetStringFromObj 1 Tcl_GetStringFromObj 10 0xf1b8 9 0x7df0 8 Tcl_GetThreadData 5 __pthread_getspecific 5 __pthread_getspecific 1 Tcl_GetThreadData 1 TclpThreadDataKeyGet 1 TclpThreadDataKeyGet 1 dyld_stub_TclpThreadDataKeyGet 1 dyld_stub_TclpThreadDataKeyGet 1 0x7df0 1 0x7df4 1 0x7df4 3 0xec48 3 0xec48 2 0xf0cc 2 0xf0cc 2 0xf190 2 0xf190 1 0x7db4 1 0x7db4 1 0x7dc8 1 0x7dc8 1 0x7dd0 1 0x7dd0 1 0xec40 1 0xec40 1 0xec4c 1 0xec4c 1 0xec5c 1 0xec5c 1 0xf0c8 1 0xf0c8 1 0xf0d8 1 0xf0d8 1 0xf188 1 0xf188 1 0xf18c 1 0xf18c 1 0xf194 1 0xf194 1 0xf1b0 1 0xf1b0 1 0xf23c 1 0xf23c 1 0xf240 1 0xf240 1 0xf248 1 0xf248 38 0x11c80 37 0x11500 37 Tcl_EvalObjEx 34 TclCompEvalObj 25 TclExecuteByteCode 11 TclExecuteByteCode 10 TclEvalObjvInternal 3 TclInterpReady 3 Tcl_ResetResult 2 ResetObjResult 2 ResetObjResult 1 _nc_table_new 1 ResetObjResult 1 ResetObjResult 2 TclEvalObjvInternal 2 dyld_stub_Tcl_GetCommandFromObj 2 dyld_stub_Tcl_GetCommandFromObj 1 TclInvokeStringCommand 1 TclInvokeStringCommand 1 Tcl_GetCommandFromObj 1 Tcl_GetString 1 Tcl_GetString 1 Tcl_GetString 1 Tcl_GetString 1 TclInterpReady 1 TclInterpReady 1 Tcl_GetCommandFromObj 1 Tcl_GetCommandFromObj 1 Tcl_GetString 1 Tcl_GetString 1 Tcl_ResetResult 1 ResetObjResult 1 ResetObjResult 5 TclCompEvalObj 4 TclInterpReady 2 Tcl_ResetResult 1 ResetObjResult 1 ResetObjResult 1 Tcl_ResetResult 1 TclInterpReady 1 dyld_stub_Tcl_ResetResult 1 dyld_stub_Tcl_ResetResult 3 Tcl_EvalObjEx 1 0x10d70 1 0x10d70 25 0x11a74 19 0x10a28 19 0x1098c 19 Tcl_GetVar2 19 Tcl_GetVar2Ex 18 TclLookupVar 16 TclLookupSimpleVar 8 TclLookupSimpleVar 8 Tcl_FindNamespaceVar 4 Tcl_FindHashEntry 2 Tcl_FindHashEntry 1 CompareStringKeys 1 CompareStringKeys 1 HashStringKey 1 HashStringKey 3 TclGetNamespaceForQualName 3 TclGetNamespaceForQualName 1 Tcl_FindNamespaceVar 2 TclLookupVar 1 TclPtrGetVar 1 TclPtrGetVar 4 0x10a34 2 strtol_l 2 strtol_l 1 atoi 1 atoi 1 dyld_stub_strtol_l 1 dyld_stub_strtol_l 1 0x10a14 1 Tcl_GetThreadData 1 Tcl_GetThreadData 1 strtol_l 1 strtol_l 4 0x11ab8 4 time 4 gettimeofday 2 __gettimeofday 2 __gettimeofday 1 dyld_stub___commpage_gettimeofday 1 dyld_stub___commpage_gettimeofday 1 gettimeofday 2 0x11b4c 2 0xc8d8 2 Tcl_GetThreadData 2 __pthread_getspecific 2 __pthread_getspecific 2 0x11cbc 2 0xc8d8 2 Tcl_GetThreadData 2 Tcl_GetThreadData 1 0x10a48 1 0x10a48 1 0x10d30 1 0x10d30 1 0x11a88 1 0x11a88 1 0x11ac0 1 0x11ac0 1 0x11ba8 1 0xf0a0 1 0xf0a0 1 0x11c9c 1 0x11c9c 1 0x11ca8 1 0x11ca8 1 0xc95c 1 0xc95c 1 0xf268 1 0xf268 1 time 1 time 965 Thread_1103 965 _pthread_body 962 NotifierThreadProc 776 select 776 select 89 pthread_mutex_lock 73 semaphore_wait_signal_trap 73 semaphore_wait_signal_trap 8 semaphore_wait_trap 8 semaphore_wait_trap 7 pthread_mutex_lock 1 new_sem_from_pool 1 new_sem_from_pool 35 pthread_cond_broadcast 32 semaphore_signal_all_trap 32 semaphore_signal_all_trap 3 pthread_cond_broadcast 28 NotifierThreadProc 25 read 25 read 2 __bzero 2 __bzero 2 dyld_stub_pthread_mutex_unlock 2 dyld_stub_pthread_mutex_unlock 1 Tcl_ConditionNotify 1 Tcl_ConditionNotify 1 dyld_stub_pthread_mutex_lock 1 dyld_stub_pthread_mutex_lock 1 dyld_stub_read 1 dyld_stub_read 1 memset 1 memset 1 pthread_mutex_unlock 1 pthread_mutex_unlock 2 pthread_mutex_lock 2 pthread_mutex_lock 1 pthread_mutex_unlock 1 pthread_mutex_unlock Total number in stack (recursive counted multiple, when >=5): 25 Tcl_GetThreadData 19 __pthread_getspecific 10 dyld_stub_pthread_getspecific 9 dyld_stub_TclpThreadDataKeyGet 8 TclpThreadDataKeyGet 6 Tcl_GetString 5 0xc8d8 5 TclpGetAllocCache Sort by top of stack, same collapsed (when >= 5): select 776 semaphore_wait_signal_trap 496 write 108 __pthread_getspecific 69 semaphore_signal_all_trap 32 NotifierThreadProc 28 read 25 Tcl_GetThreadData 19 miss 17 TclpAlloc 15 dyld_stub_pthread_getspecific 14 pickss 12 TclExecuteByteCode 11 __gettimeofday 11 dyld_stub_TclpThreadDataKeyGet 11 getvacant 11 pthread_mutex_lock 11 TclpGetAllocCache 10 TclpThreadDataKeyGet 10 TclLookupSimpleVar 8 semaphore_wait_trap 8 Tcl_GetString 7 ResetObjResult 5 TclCompEvalObj 5 Tcl_Alloc 5 dyld_stub_TclpAlloc 5 gettimeofday 5