Created
January 14, 2012 06:15
-
-
Save ashgti/1610497 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| screen /dev/tty.usbserial-A900ahQr 115200 | |
| 99.677% in __select | |
| 00.108% in read() | |
| rest is mallocs, etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sampling process 4005 for 3 seconds with 1 millisecond of run time between samples | |
| Sampling completed, processing symbols... | |
| Analysis of sampling screen (pid 4005) every 1 millisecond | |
| Process: screen [4005] | |
| Path: /usr/bin/screen | |
| Load Address: 0x105234000 | |
| Identifier: screen | |
| Version: ??? (???) | |
| Code Type: X86-64 (Native) | |
| Parent Process: screen [4004] | |
| Date/Time: 2012-01-14 00:13:12.453 -0600 | |
| OS Version: Mac OS X 10.7.2 (11C74) | |
| Report Version: 7 | |
| Call graph: | |
| 2787 Thread_281622 DispatchQueue_1: com.apple.main-thread (serial) | |
| 2787 ??? (in screen) load address 0x105234000 + 0x15c4 [0x1052355c4] | |
| 2787 ??? (in screen) load address 0x105234000 + 0x305e6 [0x1052645e6] | |
| 2778 ??? (in screen) load address 0x105234000 + 0x2bd14 [0x10525fd14] | |
| + 2778 __select (in libsystem_kernel.dylib) + 10 [0x1055c0df2] | |
| 7 ??? (in screen) load address 0x105234000 + 0x2bd7a [0x10525fd7a] | |
| + 3 ??? (in screen) load address 0x105234000 + 0x39845 [0x10526d845] | |
| + ! 3 read (in libsystem_kernel.dylib) + 10 [0x1055c1af2] | |
| + 2 ??? (in screen) load address 0x105234000 + 0x11632 [0x105245632] | |
| + ! 2 write (in libsystem_kernel.dylib) + 10 [0x1055c1fde] | |
| + 2 ??? (in screen) load address 0x105234000 + 0x39e89 [0x10526de89] | |
| + 1 ??? (in screen) load address 0x105234000 + 0x899d [0x10523c99d] | |
| + : 1 ??? (in screen) load address 0x105234000 + 0x4a0c [0x105238a0c] | |
| + : 1 ??? (in screen) load address 0x105234000 + 0x189bb [0x10524c9bb] | |
| + : 1 ??? (in screen) load address 0x105234000 + 0xc337 [0x105240337] | |
| + : 1 tgoto (in libncurses.5.4.dylib) + 955 [0x1052a9dbb] | |
| + : 1 tparm (in libncurses.5.4.dylib) + 1898 [0x1052aac7a] | |
| + : 1 __sprintf_chk (in libsystem_c.dylib) + 123 [0x10543f6a7] | |
| + : 1 vsprintf_l (in libsystem_c.dylib) + 190 [0x1054b9010] | |
| + : 1 bzero$VARIANT$sse2 (in libsystem_c.dylib) + 57 [0x105453bd9] | |
| + 1 ??? (in screen) load address 0x105234000 + 0x9086 [0x10523d086] | |
| + 1 ??? (in screen) load address 0x105234000 + 0x19c80 [0x10524dc80] | |
| + 1 ??? (in screen) load address 0x105234000 + 0xdd61 [0x105241d61] | |
| + 1 ??? (in screen) load address 0x105234000 + 0xd788 [0x105241788] | |
| 1 ??? (in screen) load address 0x105234000 + 0x2bc21 [0x10525fc21] | |
| 1 ??? (in screen) load address 0x105234000 + 0x2bd16 [0x10525fd16] | |
| Total number in stack (recursive counted multiple, when >=5): | |
| Sort by top of stack, same collapsed (when >= 5): | |
| __select (in libsystem_kernel.dylib) 2778 | |
| Binary Images: | |
| 0x105234000 - 0x10527cff7 +screen (??? - ???) <C7FC07EE-53EA-3874-B903-D6FAAB19173C> /usr/bin/screen | |
| 0x105293000 - 0x1052cdfff libncurses.5.4.dylib (5.4.0 - compatibility 5.4.0) <387DE593-9CC5-38C7-911B-A5F2264D34F2> /usr/lib/libncurses.5.4.dylib | |
| 0x1052e4000 - 0x105311fe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <095FDD3C-3961-3865-A59B-A5B0A4B8B923> /usr/lib/libSystem.B.dylib | |
| 0x105320000 - 0x105325fff libcache.dylib (47.0.0 - compatibility 1.0.0) <B7757E2E-5A7D-362E-AB71-785FE79E1527> /usr/lib/system/libcache.dylib | |
| 0x105331000 - 0x105373ff7 libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <A5B9778E-11C3-3F61-B740-1F2114E967FB> /usr/lib/system/libcommonCrypto.dylib | |
| 0x105383000 - 0x105388fff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib | |
| 0x105397000 - 0x10539efff libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.dylib | |
| 0x1053aa000 - 0x1053b8fff libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib | |
| 0x1053c9000 - 0x1053cafff libdnsinfo.dylib (395.6.0 - compatibility 1.0.0) <718A135F-6349-354A-85D5-430B128EFD57> /usr/lib/system/libdnsinfo.dylib | |
| 0x1053cf000 - 0x1053d3fff libdyld.dylib (195.5.0 - compatibility 1.0.0) <F1903B7A-D3FF-3390-909A-B24E09BAD1A5> /usr/lib/system/libdyld.dylib | |
| 0x1053dc000 - 0x1053dcfff libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib | |
| 0x1053e3000 - 0x1053edff7 liblaunch.dylib (392.18.0 - compatibility 1.0.0) <39EF04F2-7F0C-3435-B785-BF283727FFBD> /usr/lib/system/liblaunch.dylib | |
| 0x1053f8000 - 0x1053fefff libmacho.dylib (800.0.0 - compatibility 1.0.0) <D86F63EC-D2BD-32E0-8955-08B5EAFAD2CC> /usr/lib/system/libmacho.dylib | |
| 0x105407000 - 0x10540bfff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib | |
| 0x105410000 - 0x105412fff libquarantine.dylib (36.0.0 - compatibility 1.0.0) <4C3BFBC7-E592-3939-B376-1C2E2D7C5389> /usr/lib/system/libquarantine.dylib | |
| 0x105419000 - 0x10541aff7 libremovefile.dylib (21.0.0 - compatibility 1.0.0) <C6C49FB7-1892-32E4-86B5-25AD165131AA> /usr/lib/system/libremovefile.dylib | |
| 0x105422000 - 0x105423ff7 libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib | |
| 0x10542c000 - 0x105509fef libsystem_c.dylib (763.12.0 - compatibility 1.0.0) <FF69F06E-0904-3C08-A5EF-536FAFFFDC22> /usr/lib/system/libsystem_c.dylib | |
| 0x105549000 - 0x105551fff libsystem_dnssd.dylib (??? - ???) <7749128E-D0C5-3832-861C-BC9913F774FA> /usr/lib/system/libsystem_dnssd.dylib | |
| 0x105559000 - 0x105594ff7 libsystem_info.dylib (??? - ???) <9C8C2DCB-96DB-3471-9DCE-ADCC26BE2DD4> /usr/lib/system/libsystem_info.dylib | |
| 0x1055aa000 - 0x1055cafff libsystem_kernel.dylib (1699.22.73 - compatibility 1.0.0) <69F2F501-72D8-3B3B-8357-F4418B3E1348> /usr/lib/system/libsystem_kernel.dylib | |
| 0x1055da000 - 0x1055dfff7 libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib | |
| 0x1055e6000 - 0x1055efff7 libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib | |
| 0x1055f8000 - 0x1055f9fff libsystem_sandbox.dylib (??? - ???) <8D14139B-B671-35F4-9E5A-023B4C523C38> /usr/lib/system/libsystem_sandbox.dylib | |
| 0x105601000 - 0x105602fff libunc.dylib (24.0.0 - compatibility 1.0.0) <C67B3B14-866C-314F-87FF-8025BEC2CAAC> /usr/lib/system/libunc.dylib | |
| 0x105607000 - 0x10560dff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib | |
| 0x10561a000 - 0x105637ff7 libxpc.dylib (77.17.0 - compatibility 1.0.0) <72A16104-2F23-3C22-B474-1953F06F9376> /usr/lib/system/libxpc.dylib | |
| 0x7fff64e34000 - 0x7fff64e68ac7 dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld | |
| Sample analysis of process 4005 written to file /dev/stdout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 97.548% in __select() | |
| 01.442% in read() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sampling process 3803 for 1 seconds with 1 millisecond of run time between samples | |
| Sampling completed, processing symbols... | |
| Analysis of sampling serial_tests (pid 3803) every 1 millisecond | |
| Process: serial_tests [3803] | |
| Path: /Users/john/Projects/serial/bin/serial_tests | |
| Load Address: 0x10333f000 | |
| Identifier: serial_tests | |
| Version: ??? (???) | |
| Code Type: X86-64 (Native) | |
| Parent Process: zsh [306] | |
| Date/Time: 2012-01-14 00:08:49.630 -0600 | |
| OS Version: Mac OS X 10.7.2 (11C74) | |
| Report Version: 7 | |
| Call graph: | |
| 928 Thread_265265 DispatchQueue_1: com.apple.main-thread (serial) | |
| 928 start (in serial_tests) + 52 [0x1033418c4] | |
| 928 main (in serial_tests) + 339 [0x103341a83] serial_tests.cc:45 | |
| 922 serial::Serial::readline(unsigned long, std::string) (in serial_tests) + 86 [0x103341dd6] | |
| + 900 serial::Serial::SerialImpl::read(unsigned long) (in serial_tests) + 403 [0x103343213] | |
| + ! 900 __select (in libsystem_kernel.dylib) + 10 [0x103802df2] | |
| + 17 serial::Serial::SerialImpl::read(unsigned long) (in serial_tests) + 523 [0x10334328b] | |
| + ! 17 read (in libsystem_kernel.dylib) + 10 [0x103803af2] | |
| + 4 serial::Serial::SerialImpl::read(unsigned long) (in serial_tests) + 621 [0x1033432ed] | |
| + ! 2 std::string::append(char const*, unsigned long) (in libstdc++.6.dylib) + 105 [0x10345b62b] | |
| + ! : 2 std::string::reserve(unsigned long) (in libstdc++.6.dylib) + 84 [0x10345b40e] | |
| + ! : 2 std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (in libstdc++.6.dylib) + 31 [0x10345b1d7] | |
| + ! : 2 std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in libstdc++.6.dylib) + 126 [0x10345a80a] | |
| + ! : 2 operator new(unsigned long) (in libstdc++.6.dylib) + 94 [0x10346d68e] | |
| + ! : 2 malloc (in libsystem_c.dylib) + 44 [0x1037031a4] | |
| + ! : 1 malloc_zone_malloc (in libsystem_c.dylib) + 77 [0x1037023c8] | |
| + ! : | 1 szone_malloc_should_clear (in libsystem_c.dylib) + 1169 [0x1036cd044] | |
| + ! : 1 malloc_zone_malloc (in libsystem_c.dylib) + 70 [0x1037023c1] | |
| + ! 2 std::string::append(char const*, unsigned long) (in libstdc++.6.dylib) + 173,52 [0x10345b66f,0x10345b5f6] | |
| + 1 serial::Serial::SerialImpl::read(unsigned long) (in serial_tests) + 523 [0x10334328b] | |
| 2 serial::Serial::readline(unsigned long, std::string) (in serial_tests) + 176 [0x103341e30] | |
| + 1 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long) (in libstdc++.6.dylib) + 104 [0x10345c9ee] | |
| + ! 1 char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (in libstdc++.6.dylib) + 73 [0x10345c833] | |
| + 1 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long) (in libstdc++.6.dylib) + 104 [0x10345c9ee] | |
| 2 serial::Serial::readline(unsigned long, std::string) (in serial_tests) + 278 [0x103341e96] | |
| + 2 std::string::_Rep::_M_destroy(std::allocator<char> const&) (in libstdc++.6.dylib) + 34 [0x10345a6b4] | |
| + 1 free (in libsystem_c.dylib) + 71 [0x10370270e] | |
| + ! 1 szone_size (in libsystem_c.dylib) + 379 [0x1036c3ed3] | |
| + 1 free (in libsystem_c.dylib) + 194 [0x103702789] | |
| + 1 szone_free_definite_size (in libsystem_c.dylib) + 1815 [0x1036c95c3] | |
| + 1 tiny_free_list_add_ptr (in libsystem_c.dylib) + 51 [0x1036c2ac1] | |
| 1 serial::Serial::readline(unsigned long, std::string) (in serial_tests) + 119 [0x103341df7] | |
| + 1 std::string::append(std::string const&) (in libstdc++.6.dylib) + 63 [0x10345b7d9] | |
| + 1 std::string::reserve(unsigned long) (in libstdc++.6.dylib) + 106 [0x10345b424] | |
| + 1 std::string::_Rep::_M_dispose(std::allocator<char> const&) (in libstdc++.6.dylib) + 60 [0x10345a702] | |
| + 1 free (in libsystem_c.dylib) + 71 [0x10370270e] | |
| + 1 szone_size (in libsystem_c.dylib) + 319 [0x1036c3e97] | |
| 1 serial::Serial::readline(unsigned long, std::string) (in serial_tests) + 337 [0x103341ed1] | |
| Total number in stack (recursive counted multiple, when >=5): | |
| Sort by top of stack, same collapsed (when >= 5): | |
| __select (in libsystem_kernel.dylib) 900 | |
| read (in libsystem_kernel.dylib) 17 | |
| Binary Images: | |
| 0x10333f000 - 0x103345fff +serial_tests (??? - ???) <F98FAB64-0326-3EAC-9620-B78BD471C36F> /Users/john/Projects/serial/bin/serial_tests | |
| 0x103355000 - 0x103385ff7 +libgtest.0.0.0.dylib (??? - ???) <B94FE83B-40CB-319F-A6FF-AAD29F9B50C1> /usr/local/lib/libgtest.0.0.0.dylib | |
| 0x1033a5000 - 0x1033a5ff7 +libgtest_main.0.0.0.dylib (??? - ???) <0D0D45B0-3750-32D2-9E6C-B14D351DE56F> /usr/local/lib/libgtest_main.0.0.0.dylib | |
| 0x1033ae000 - 0x1033b2fff +libboost_system-mt.dylib (??? - ???) <B5BB8B82-F6FD-3660-810D-63A4ADF232ED> /usr/local/lib/libboost_system-mt.dylib | |
| 0x1033bd000 - 0x1033d1ff7 +libboost_filesystem-mt.dylib (??? - ???) <C8D421CE-37CC-3433-BD0F-228113FD4EB6> /usr/local/lib/libboost_filesystem-mt.dylib | |
| 0x1033f2000 - 0x103403ff7 +libboost_thread-mt.dylib (??? - ???) <A1ECC9A0-5E8C-3E96-95BB-5DDEC675797F> /usr/local/lib/libboost_thread-mt.dylib | |
| 0x10342e000 - 0x1034a1fff libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib | |
| 0x103501000 - 0x10352efe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <095FDD3C-3961-3865-A59B-A5B0A4B8B923> /usr/lib/libSystem.B.dylib | |
| 0x103541000 - 0x10354cff7 libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib | |
| 0x10355a000 - 0x10355ffff libcache.dylib (47.0.0 - compatibility 1.0.0) <B7757E2E-5A7D-362E-AB71-785FE79E1527> /usr/lib/system/libcache.dylib | |
| 0x103568000 - 0x1035aaff7 libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <A5B9778E-11C3-3F61-B740-1F2114E967FB> /usr/lib/system/libcommonCrypto.dylib | |
| 0x1035be000 - 0x1035c3fff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib | |
| 0x1035cc000 - 0x1035d3fff libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.dylib | |
| 0x1035da000 - 0x1035e8fff libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib | |
| 0x1035ff000 - 0x103600fff libdnsinfo.dylib (395.6.0 - compatibility 1.0.0) <718A135F-6349-354A-85D5-430B128EFD57> /usr/lib/system/libdnsinfo.dylib | |
| 0x103608000 - 0x10360cfff libdyld.dylib (195.5.0 - compatibility 1.0.0) <F1903B7A-D3FF-3390-909A-B24E09BAD1A5> /usr/lib/system/libdyld.dylib | |
| 0x103613000 - 0x103613fff libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib | |
| 0x103619000 - 0x103623ff7 liblaunch.dylib (392.18.0 - compatibility 1.0.0) <39EF04F2-7F0C-3435-B785-BF283727FFBD> /usr/lib/system/liblaunch.dylib | |
| 0x10362c000 - 0x103632fff libmacho.dylib (800.0.0 - compatibility 1.0.0) <D86F63EC-D2BD-32E0-8955-08B5EAFAD2CC> /usr/lib/system/libmacho.dylib | |
| 0x10363d000 - 0x103641fff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib | |
| 0x103647000 - 0x103649fff libquarantine.dylib (36.0.0 - compatibility 1.0.0) <4C3BFBC7-E592-3939-B376-1C2E2D7C5389> /usr/lib/system/libquarantine.dylib | |
| 0x10364e000 - 0x10364fff7 libremovefile.dylib (21.0.0 - compatibility 1.0.0) <C6C49FB7-1892-32E4-86B5-25AD165131AA> /usr/lib/system/libremovefile.dylib | |
| 0x103655000 - 0x103656ff7 libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib | |
| 0x103662000 - 0x10373ffef libsystem_c.dylib (763.12.0 - compatibility 1.0.0) <FF69F06E-0904-3C08-A5EF-536FAFFFDC22> /usr/lib/system/libsystem_c.dylib | |
| 0x103782000 - 0x10378afff libsystem_dnssd.dylib (??? - ???) <7749128E-D0C5-3832-861C-BC9913F774FA> /usr/lib/system/libsystem_dnssd.dylib | |
| 0x103797000 - 0x1037d2ff7 libsystem_info.dylib (??? - ???) <9C8C2DCB-96DB-3471-9DCE-ADCC26BE2DD4> /usr/lib/system/libsystem_info.dylib | |
| 0x1037ec000 - 0x10380cfff libsystem_kernel.dylib (1699.22.73 - compatibility 1.0.0) <69F2F501-72D8-3B3B-8357-F4418B3E1348> /usr/lib/system/libsystem_kernel.dylib | |
| 0x10381e000 - 0x103823ff7 libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib | |
| 0x10382f000 - 0x103838ff7 libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib | |
| 0x103840000 - 0x103841fff libsystem_sandbox.dylib (??? - ???) <8D14139B-B671-35F4-9E5A-023B4C523C38> /usr/lib/system/libsystem_sandbox.dylib | |
| 0x103846000 - 0x103847fff libunc.dylib (24.0.0 - compatibility 1.0.0) <C67B3B14-866C-314F-87FF-8025BEC2CAAC> /usr/lib/system/libunc.dylib | |
| 0x103853000 - 0x103859ff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib | |
| 0x103866000 - 0x103883ff7 libxpc.dylib (77.17.0 - compatibility 1.0.0) <72A16104-2F23-3C22-B474-1953F06F9376> /usr/lib/system/libxpc.dylib | |
| 0x7fff62f3f000 - 0x7fff62f73ac7 dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld | |
| Sample analysis of process 3803 written to file /dev/stdout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment