Overview
| Artifact ID: | a070891634cb1c4e89ddd3aa3bd479ea1c1f32cf |
|---|---|
| Ticket: | 3485833fffffffffffffffffffffffffffffffff |
| Date: | 2012-02-09 23:01:23 |
| User: | dkf |
| Artifact Attached: | 59609d776aa75ddda0a335c27be7191ea136757f |
| Filename: | sample.txt |
| Description: | profiler sample during slow execution run |
Content:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392Sampling process 84032 for 1 seconds with 1 millisecond of run time between samples Sampling completed, processing symbols... Analysis of sampling tcltest (pid 84032) every 1 millisecond Call graph: 888 Thread_2507 888 start 888 main 888 Tcl_MainEx 888 Tcl_RecordAndEvalObj 888 Tcl_EvalObjEx 888 TclEvalObjEx 888 TclNRRunCallbacks 888 TEBCresume 888 TclNREvalObjv 888 TclInvokeStringCommand 888 TestcmdtraceCmd 888 Tcl_Eval 888 Tcl_EvalEx 888 TclEvalEx 888 Tcl_EvalObjv 888 TclNREvalObjv 888 Tcl_TimeObjCmd 888 Tcl_EvalObjEx 888 TclEvalObjEx 885 TclNRRunCallbacks 828 NRRunObjProc 828 NsEnsembleImplementationCmdNR 823 Tcl_NREvalObj 823 TclNREvalObjEx 817 TclNREvalObjv 807 TEOV_RunEnterTraces 762 Tcl_GetStringFromObj 762 Tcl_GetString 762 UpdateStringOfList 618 TclScanElement 618 TclScanElement 66 TclConvertElement 66 TclConvertElement 66 __memset_pattern 66 __memset_pattern 12 Tcl_DbCkalloc 11 TclpAlloc 11 malloc 10 malloc_zone_malloc 10 szone_malloc 10 large_and_huge_malloc 10 mmap 10 mmap 1 malloc 1 Tcl_MutexLock 1 pthread_mutex_lock 1 pthread_mutex_lock 39 TclCheckInterpTraces 33 CallTraceFunction 33 CallTraceFunction 6 Tcl_RestoreInterpState 3 Tcl_DiscardInterpState 3 Tcl_DbCkfree 2 TclpFree 2 free 1 free 1 szone_free 1 szone_free 1 Tcl_MutexUnlock 1 Tcl_MutexUnlock 2 Tcl_SetObjResult 2 Tcl_DbDecrRefCount 1 Tcl_DbDecrRefCount 1 Tcl_GetThreadData 1 TclThreadStorageKeyGet 1 TclThreadStorageKeyGet 1 Tcl_DbDecrRefCount 1 Tcl_GetThreadData 1 TclThreadStorageKeyGet 1 pthread_getspecific 1 pthread_getspecific 3 GetCommandSource 3 Tcl_DbNewListObj 2 NewListIntRep 1 Tcl_AttemptDbCkalloc 1 TclpAlloc 1 malloc 1 malloc_zone_malloc 1 szone_malloc 1 tiny_malloc_from_free_list 1 tiny_malloc_from_free_list 1 Tcl_DbIncrRefCount 1 Tcl_GetThreadData 1 Tcl_GetThreadData 1 Tcl_DbCkalloc 1 Tcl_DbCkalloc 2 TclDbInitNewObj 1 CreateHashEntry 1 Tcl_DbCkalloc 1 TclpAlloc 1 malloc 1 malloc_zone_malloc 1 szone_malloc 1 szone_malloc 1 memset 1 memset 1 Tcl_DbCkalloc 1 Tcl_DbCkalloc 6 StringRangeCmd 4 Tcl_SetObjResult 4 Tcl_DbDecrRefCount 1 TclFreeObj 1 Tcl_DbCkfree 1 Tcl_MutexUnlock 1 pthread_mutex_unlock 1 pthread_mutex_unlock 1 Tcl_DbCkfree 1 Tcl_MutexLock 1 pthread_mutex_lock 1 pthread_mutex_lock 1 Tcl_DbDecrRefCount 1 Tcl_DeleteHashEntry 1 Tcl_DbCkfree 1 TclpFree 1 free 1 szone_free 1 tiny_free_list_add_ptr 1 tiny_free_list_add_ptr 1 Tcl_GetCharLength 1 Tcl_GetCharLength 1 Tcl_GetRange 1 Tcl_NewStringObj 1 Tcl_DbNewStringObj 1 TclDbInitNewObj 1 TclDbInitNewObj 2 TclDbInitNewObj 2 CreateHashEntry 2 Tcl_DbCkalloc 1 Tcl_MutexUnlock 1 pthread_mutex_unlock 1 pthread_mutex_unlock 1 TclpAlloc 1 malloc 1 malloc 1 TEOV_LookupCmdFromObj 1 Tcl_GetCommandFromObj 1 Tcl_GetCommandFromObj 1 Tcl_DbCkalloc 1 TclpAlloc 1 malloc 1 malloc_zone_malloc 1 malloc_zone_malloc 2 TclDbInitNewObj 2 Tcl_DbCkalloc 2 Tcl_DbCkalloc 2 TclNREvalObjEx 1 TclListObjCopy 1 Tcl_DbCkalloc 1 Tcl_MutexLock 1 pthread_mutex_lock 1 pthread_mutex_lock 1 Tcl_DbDecrRefCount 1 Tcl_DeleteHashEntry 1 Tcl_DbCkfree 1 ValidateMemory 1 ValidateMemory 3 Tcl_DbIncrRefCount 2 Tcl_GetThreadData 1 TclThreadStorageKeyGet 1 TclThreadStorageKeyGet 1 Tcl_GetThreadData 1 FindHashEntry 1 CreateHashEntry 1 CreateHashEntry 1 NsEnsembleImplementationCmdNR 1 Tcl_DbNewListObj 1 NewListIntRep 1 memset 1 memset 22 TEBCresume 13 TclNREvalObjv 10 TEOV_RunEnterTraces 5 GetCommandSource 3 Tcl_DbNewListObj 1 NewListIntRep 1 Tcl_DbIncrRefCount 1 Tcl_GetThreadData 1 TclThreadStorageKeyGet 1 TclpThreadGetMasterTSD 1 pthread_getspecific 1 pthread_getspecific 1 TclDbInitNewObj 1 CreateHashEntry 1 Tcl_DbCkalloc 1 TclpAlloc 1 malloc 1 malloc_zone_malloc 1 szone_malloc 1 tiny_malloc_from_free_list 1 tiny_malloc_from_free_list 1 Tcl_DbCkalloc 1 Tcl_MutexUnlock 1 pthread_mutex_unlock 1 pthread_mutex_unlock 1 Tcl_DbDecrRefCount 1 Tcl_DeleteHashEntry 1 Tcl_DbCkfree 1 TclpFree 1 free 1 szone_free 1 szone_free 1 Tcl_DbNewStringObj 1 Tcl_DbCkalloc 1 TclpAlloc 1 malloc 1 malloc_zone_malloc 1 szone_malloc 1 tiny_malloc_from_free_list 1 tiny_malloc_from_free_list 2 TclCheckInterpTraces 1 CallTraceFunction 1 TclStackAlloc 1 StackAllocWords 1 GrowEvaluationStack 1 GrowEvaluationStack 1 Tcl_SaveInterpState 1 Tcl_DbCkalloc 1 TclpAlloc 1 malloc 1 malloc 1 TEOV_RunEnterTraces 1 TclDbInitNewObj 1 Tcl_DbCkalloc 1 Tcl_DbCkalloc 1 Tcl_DbCkalloc 1 Tcl_MutexUnlock 1 pthread_mutex_unlock 1 pthread_mutex_unlock 2 TclDbInitNewObj 1 CreateHashEntry 1 Tcl_DbCkalloc 1 TclpAlloc 1 malloc 1 malloc_zone_malloc 1 szone_malloc 1 tiny_malloc_from_free_list 1 tiny_free_list_add_ptr 1 tiny_free_list_add_ptr 1 Tcl_DbCkalloc 1 TclpAlloc 1 malloc 1 malloc_zone_malloc 1 szone_malloc 1 szone_malloc 1 Tcl_DbCkalloc 1 Tcl_DbCkalloc 3 TEBCresume 1 TclDbInitNewObj 1 CreateHashEntry 1 memset 1 memset 1 TclObjLookupVarEx 1 TclObjLookupVarEx 1 TclStackFree 1 OFFSET 1 OFFSET 1 Tcl_DbDecrRefCount 1 Tcl_DbDecrRefCount 1 Tcl_DbIncrRefCount 1 Tcl_DbIncrRefCount 1 ValidatePcAndStackTop 1 ValidatePcAndStackTop 18 Tcl_DbDecrRefCount 6 Tcl_DbCkfree 2 Tcl_DbCkfree 2 ValidateMemory 2 ValidateMemory 1 Tcl_MutexLock 1 Tcl_MutexLock 1 TclpFree 1 free 1 szone_free 1 szone_free 6 Tcl_DeleteHashEntry 6 Tcl_DbCkfree 2 Tcl_DbCkfree 2 TclpFree 2 free 2 szone_free 2 szone_free 2 ValidateMemory 2 ValidateMemory 5 TclFreeObj 4 Tcl_DbCkfree 2 TclpFree 1 free 1 szone_free 1 szone_free 1 malloc_zone_free 1 malloc_zone_free 1 ValidateMemory 1 ValidateMemory 1 dyld_stub_pthread_mutex_unlock 1 dyld_stub_pthread_mutex_unlock 1 FindHashEntry 1 CreateHashEntry 1 CreateHashEntry 1 memset 1 memset 15 TEOV_RunLeaveTraces 13 Tcl_DbDecrRefCount 11 TclFreeObj 7 __memset_pattern 7 __memset_pattern 3 Tcl_DbCkfree 2 TclpFree 2 free 2 munmap$UNIX2003 2 munmap$UNIX2003 1 Tcl_MutexUnlock 1 Tcl_MutexUnlock 1 FreeListInternalRep 1 Tcl_DbDecrRefCount 1 FindHashEntry 1 CreateHashEntry 1 CreateHashEntry 1 FindHashEntry 1 CreateHashEntry 1 CreateHashEntry 1 Tcl_DbCkfree 1 TclpFree 1 free 1 szone_free 1 szone_free 2 TclCheckInterpTraces 1 Tcl_RestoreInterpState 1 Tcl_DiscardInterpState 1 Tcl_DbCkfree 1 TclpFree 1 free 1 szone_free 1 szone_free 1 Tcl_SaveInterpState 1 Tcl_DbCkalloc 1 Tcl_MutexUnlock 1 pthread_mutex_unlock 1 pthread_mutex_unlock 2 TEOEx_ListCallback 2 Tcl_DbDecrRefCount 2 TclFreeObj 1 FindHashEntry 1 CreateHashEntry 1 CreateHashEntry 1 FreeListInternalRep 1 FreeListInternalRep 3 TclNREvalObjEx 2 TclInterpReady 2 Tcl_ResetResult 1 ResetObjResult 1 Tcl_DbIsShared 1 Tcl_DbIsShared 1 Tcl_ResetResult 1 TclDbInitNewObj 1 CreateHashEntry 1 Tcl_DbCkalloc 1 Tcl_DbCkalloc Total number in stack (recursive counted multiple, when >=5): 19 Tcl_DbCkalloc 12 Tcl_DbCkfree 11 CreateHashEntry 10 Tcl_DbDecrRefCount 10 TclpAlloc 10 malloc 9 TclDbInitNewObj 9 TclpFree 9 free 8 malloc_zone_malloc 8 szone_free 7 Tcl_MutexUnlock 7 szone_malloc 5 FindHashEntry 5 Tcl_GetThreadData 5 pthread_mutex_unlock Sort by top of stack, same collapsed (when >= 5): TclScanElement 618 __memset_pattern 73 TclConvertElement 66 CallTraceFunction 33 mmap 10 szone_free 8 Tcl_DbCkalloc 7 ValidateMemory 6 CreateHashEntry 5 pthread_mutex_unlock 5 Sample analysis of process 84032 written to file /dev/stdout
