Analysis of sampling cc1plus (pid 65591) every 1 millisecond Call graph: 1784 Thread_3308317 DispatchQueue_1: com.apple.main-thread (serial) 1784 0x100000b94 1784 0x10048c141 1784 0x10048b5e3 1784 0x1000e5274 1784 0x100077742 1784 0x10004de82 1784 0x1000df2c1 1784 0x100526279 1784 0x100524955 1784 0x100519573 1784 0x10051a154 1784 0x10052108f 1784 0x10051fd2f 1769 0x1000e7f24 1101 0x10051b8d9 392 0x10051b55b 390 fputc 374 __swbuf 365 __sflush 360 _swrite 344 __swrite 343 write$NOCANCEL 1 __swrite 10 cerror 9 cerror 1 cthread_set_errno_self 6 _swrite 5 __sflush 8 __swbuf 1 dyld_stub__swrite 11 fputc 4 dyld_stub___sflush 1 dyld_stub___fflush 2 0x10051b55b 378 0x10051b4b1 378 fputs 371 __sfvwrite 364 _swrite 334 __swrite 328 write$NOCANCEL 6 __swrite 17 cerror 15 cerror 2 cthread_set_errno_self 13 _swrite 7 __sfvwrite 5 fputs 2 strlen 159 0x10051b54d 159 fprintf 158 vfprintf_l 148 __vfprintf 135 __vfprintf 67 __vfprintf 52 __sfvwrite 32 __sfvwrite 16 __memcpy 4 memcpy 8 strlen 5 __ultoa 3 localeconv_l 8 __vfprintf 4 localeconv_l 1 dyld_stub___sfvwrite 10 vfprintf_l 1 pthread_getspecific 153 0x10051b4a6 46 0x10053564b 19 0x100536e50 19 getenv 18 __findenv 1 getenv 13 0x100536e28 13 getenv 11 __findenv 1 _NSGetEnviron 1 getenv 8 0x100536e3a 8 getenv 8 __findenv 3 0x10053564b 2 0x100536e65 1 dyld_stub_getenv 35 0x10053562c 33 getenv 25 __findenv 7 getenv 1 _NSGetEnviron 1 0x10053562c 1 dyld_stub__NSGetEnviron 21 0x1005355a1 20 getenv 15 __findenv 4 _NSGetEnviron 1 getenv 1 dyld_stub__NSGetEnviron 9 0x1005356a9 7 strlen 2 0x1005356a9 8 0x1005355d1 6 0x100535685 6 stpcpy 4 0x1005353ed 4 strlen 3 0x100535454 3 0x10053569b 2 0x100535371 1 0x100535371 1 __memcpy 1 0x100535360 2 0x10053540e 2 0x10053563d 2 0x100535646 2 0x100535657 2 strlen 1 0x100535381 1 0x1005353e1 1 0x1005354af 1 strcmp 1 0x100535617 1 0x100535618 1 0x100535663 1 strlen 1 0x1005356fa 1 0x10053570d 1 strcmp 1 dyld_stub_memcpy 1 dyld_stub_strlen 5 0x10051b8d9 3 0x10053242f 2 0x10051b4b6 2 0x10051b4ed 2 0x100524da7 1 0x10051b4d5 1 0x10051b4dd 1 0x10051b4f3 1 0x10051b52d 1 0x10051b546 1 0x10051b67b 1 dyld_stub_fputc 382 0x10051b9a6 381 __swbuf 371 __sflush 367 _swrite 352 __swrite 349 write$NOCANCEL 3 __swrite 8 cerror 7 cerror 1 cthread_set_errno_self 7 _swrite 3 __sflush 1 __error 8 __swbuf 2 __fflush 1 0x10051b9a6 160 0x10051b91f 61 0x10053564b 30 0x100536e3a 30 getenv 27 __findenv 2 getenv 1 _NSGetEnviron 15 0x100536e28 15 getenv 15 __findenv 12 0x100536e50 12 getenv 11 __findenv 1 _NSGetEnviron 2 0x100536e10 2 dyld_stub_getenv 32 0x1005355a1 32 getenv 31 __findenv 1 getenv 22 0x10053562c 22 getenv 20 __findenv 2 getenv 6 0x1005354af 6 strcmp 5 0x10053540e 5 __memcpy 5 0x10053570d 5 strcmp 4 0x10053569b 3 0x100535371 3 __memcpy 1 0x100535379 3 0x1005356a9 3 strlen 2 0x100535380 2 0x1005353ed 2 strlen 2 0x1005354bf 2 0x1005355d1 2 0x10053567a 2 dyld_stub_getenv 1 0x100532440 1 0x100532441 1 0x10053539c 1 0x1005353cd 1 0x100535478 1 0x1005355c9 1 0x10053563d 1 0x100535663 1 strlen 1 0x100535685 1 stpcpy 1 dyld_stub_strcmp 101 0x10051b934 100 vfprintf 98 __vfprintf 76 __vfprintf 37 __vfprintf 31 __sfvwrite 15 __sfvwrite 14 __memcpy 2 memcpy 7 strlen 1 localeconv_l 14 __vfprintf 6 localeconv_l 1 dyld_stub___sfvwrite 1 dyld_stub_localeconv_l 1 pthread_getspecific 1 vfprintf 1 dyld_stub_pthread_getspecific 7 0x10051b9f4 7 0x100546bb0 6 strerror 1 0x100546bb0 6 0x10051ba11 3 0x10051b9ed 3 __error 1 0x1000e7f24 1 0x10051b8b3 1 0x10051b8cc 1 0x10051b8e1 1 0x10051b8f2 1 0x10051b910 1 0x10051b93a 1 0x10051b9a1 1 0x10051b9d0 14 0x1000e7f55 14 fread 8 fread 4 __memcpy 2 __srefill0 1 0x1000e7f10 Total number in stack (recursive counted multiple, when >=5): 10 __findenv 10 getenv 10 strlen 6 __memcpy 5 _NSGetEnviron Sort by top of stack, same collapsed (when >= 5): write$NOCANCEL 1020 __findenv 181 __vfprintf 126 __sfvwrite 54 __memcpy 43 strlen 37 cerror 31 _swrite 26 __swbuf 16 getenv 15 localeconv_l 14 strcmp 13 fputc 11 0x1005355d1 10 __swrite 10 vfprintf_l 10 _NSGetEnviron 8 __sflush 8 fread 8 stpcpy 7 0x10051ba11 6 memcpy 6 strerror 6 0x10051b8d9 5 __ultoa 5 dyld_stub_getenv 5 fputs 5