Last active
April 9, 2024 23:11
-
-
Save dfyz/0a497b14fcdab084fbb4247231677632 to your computer and use it in GitHub Desktop.
This file contains 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
>src\forktest.com --ftrace | |
FUN 2556 12684 5'596'885 440 &__nocolor_init | |
FUN 2556 12684 5'810'695 456 &getenv | |
FUN 2556 12684 5'934'173 440 &winclock_init | |
FUN 2556 12684 6'158'823 456 &QueryPerformanceCounter | |
FUN 2556 12684 6'378'783 456 &QueryPerformanceFrequency | |
FUN 2556 12684 6'981'566 440 &outinit | |
FUN 2556 12684 7'126'687 456 &__fflush_register | |
FUN 2556 12684 7'245'432 504 &pthread_mutex_lock | |
FUN 2556 12684 7'351'612 552 &nsync_mu_lock | |
FUN 2556 12684 7'462'107 504 &__cxa_atexit | |
FUN 2556 12684 7'550'383 552 &__cxa_lock | |
FUN 2556 12684 7'623'090 568 &pthread_mutex_lock | |
FUN 2556 12684 7'705'223 616 &nsync_mu_lock | |
FUN 2556 12684 7'922'044 552 &__cxa_unlock | |
FUN 2556 12684 8'021'835 568 &pthread_mutex_unlock | |
FUN 2556 12684 8'116'083 600 &nsync_mu_unlock | |
FUN 2556 12684 8'205'547 504 &pthread_mutex_unlock | |
FUN 2556 12684 8'295'298 536 &nsync_mu_unlock | |
FUN 2556 12684 8'362'572 440 &stdioinit | |
FUN 2556 12684 8'476'828 456 &pthread_atfork | |
FUN 2556 12684 8'549'716 440 &zipos_ctor | |
FUN 2556 12684 8'626'577 456 &pthread_mutex_init | |
FUN 2556 12684 8'720'524 456 &pthread_atfork | |
FUN 2556 12684 8'884'119 440 &__cxa_init | |
FUN 2556 12684 9'062'686 456 &pthread_atfork | |
FUN 2556 12684 9'152'321 440 &__sig_init | |
FUN 2556 12684 9'263'272 456 &AddVectoredExceptionHandler | |
FUN 2556 12684 9'427'917 456 &SetConsoleCtrlHandler | |
FUN 2556 12684 9'551'080 424 &main | |
FUN 2556 12684 9'651'825 456 &puts | |
FUN 2556 12684 9'735'351 488 &flockfile | |
FUN 2556 12684 9'834'109 504 &pthread_mutex_lock | |
FUN 2556 12684 9'929'199 552 &gettid | |
FUN 2556 12684 10'035'651 488 &puts_unlocked | |
FUN 2556 12684 10'302'720 520 &strlen | |
FUN 2556 12684 10'477'923 536 &__strlen.avx | |
FUN 2556 12684 10'590'982 520 &fwrite_unlocked | |
FUN 2556 12684 10'672'982 616 &memmove | |
FUN 2556 12684 10'792'772 632 &__memmove.avx | |
FUN 2556 12684 10'905'034 616 &memrchr | |
FUN 2556 12684 11'001'595 632 &memrchr_sse.avx | |
FUN 2556 12684 11'091'658 520 &putc_unlocked | |
FUN 2556 12684 11'173'199 552 &fwrite_unlocked | |
FUN 2556 12684 11'258'949 648 &memmove | |
FUN 2556 12684 11'346'240 664 &__memmove.avx | |
FUN 2556 12684 11'443'224 648 &memrchr | |
FUN 2556 12684 11'526'838 664 &memrchr_sse.avx | |
FUN 2556 12684 11'623'453 648 &write | |
FUN 2556 12684 11'709'771 712 &sys_writev_nt | |
FUN 2556 12684 11'814'294 728 &sys_write_nt | |
FUN 2556 12684 11'962'744 824 &__sig_block | |
FUN 2556 12684 12'065'585 824 &sys_write_nt_impl | |
FUN 2556 12684 12'168'676 904 &GetConsoleOutputHandle | |
FUN 2556 12684 12'267'184 920 &cosmo_once | |
FUN 2556 12684 12'385'250 952 &OpenConsole | |
FUN 2556 12684 12'511'305 1'000 &CreateFile | |
FUN 2556 12684 12'729'208 984 &__dll_make_first | |
FUN 2556 12684 12'896'913 904 &InterceptTerminalCommands | |
FUN 2556 12684 13'028'583 952 &cosmo_once | |
FUN 2556 12684 13'129'997 952 &GetConsoleMode | |
FUN 2556 12684 13'255'451 920 &sys_readwrite_nt | |
FUN 2556 12684 13'346'889 1'080 &_check_cancel | |
FUN 2556 12684 13'454'235 1'080 &__sig_get | |
FUN 2556 12684 13'557'815 1'112 &__sig_getter | |
FUN 2556 12684 13'687'763 1'080 &CreateEvent | |
FUN 2556 12684 13'789'830 1'080 &WriteFile | |
before forking | |
FUN 2556 12684 13'992'907 1'080 &GetOverlappedResult | |
FUN 2556 12684 14'092'619 1'080 &CloseHandle | |
FUN 2556 12684 14'179'569 824 &__sig_unblock | |
FUN 2556 12684 14'277'403 856 &__sig_check | |
FUN 2556 12684 14'360'649 888 &__sig_getter | |
FUN 2556 12684 14'457'765 488 &funlockfile | |
FUN 2556 12684 14'545'632 504 &pthread_mutex_unlock | |
FUN 2556 12684 14'627'366 536 &gettid | |
FUN 2556 12684 14'707'251 456 &fork | |
FUN 2556 12684 14'804'616 472 &_fork | |
FUN 2556 12684 14'890'579 568 &__sig_block | |
FUN 2556 12684 15'003'164 568 &__proc_lock | |
FUN 2556 12684 15'084'714 584 &cosmo_once | |
FUN 2556 12684 15'190'354 616 &__proc_setup | |
FUN 2556 12684 15'275'891 632 &CreateEvent | |
FUN 2556 12684 15'449'107 632 &CreateThread | |
FUN 2556 12684 15'668'980 584 &nsync_mu_lock | |
FUN 2556 12684 15'755'557 568 &sys_fork_nt | |
FUN 2556 14644 15'936'079 1'792 &cosmo_once | |
FUN 2556 14644 16'055'456 1'792 &nsync_mu_lock | |
FUN 2556 14644 16'179'260 1'840 &nsync_waiter_new_ | |
FUN 2556 14644 16'301'564 1'888 &nsync_spin_test_and_set_ | |
FUN 2556 14644 16'425'932 1'888 &_extend | |
FUN 2556 14644 16'548'819 1'968 &__sig_block | |
FUN 2556 14644 16'657'149 1'968 &__mmi_lock | |
FUN 2556 14644 16'792'253 1'984 &pthread_mutex_lock | |
FUN 2556 14644 16'933'663 2'032 &gettid | |
FUN 2556 14644 17'616'015 1'968 &sys_mmap | |
FUN 2556 14644 17'711'020 1'984 &sys_mmap_nt | |
FUN 2556 14644 17'891'471 2'128 &__errno_location | |
FUN 2556 14644 18'096'463 2'128 &CreateFileMapping | |
FUN 2556 14644 18'236'815 2'128 &MapViewOfFileEx | |
FUN 2556 14644 18'395'644 2'128 &VirtualProtect | |
FUN 2556 14644 18'506'455 2'000 &__track_memory | |
FUN 2556 14644 18'892'288 2'096 &__find_memory | |
FUN 2556 14644 21'043'025 2'096 &__mint_memory | |
FUN 2556 14644 22'623'467 2'160 &__shove_memory.isra.0 | |
FUN 2556 14644 22'766'579 1'968 &__mmi_unlock | |
FUN 2556 14644 22'877'423 1'984 &pthread_mutex_unlock | |
FUN 2556 14644 22'971'163 2'016 &gettid | |
FUN 2556 14644 23'063'701 1'968 &__sig_unblock | |
FUN 2556 14644 23'156'281 2'000 &__sig_check | |
FUN 2556 14644 23'322'306 2'032 &__sig_getter | |
FUN 2556 14644 23'414'323 1'888 &nsync_mu_semaphore_init | |
FUN 2556 14644 26'521'192 1'904 &nsync_mu_semaphore_init_futex | |
FUN 2556 14644 26'724'678 1'840 &nsync_mu_lock_slow_ | |
FUN 2556 14644 26'826'110 1'936 &_pthread_block_cancelation | |
FUN 2556 14644 26'915'562 1'936 &__dll_make_last | |
FUN 2556 14644 27'076'504 1'936 &nsync_mu_semaphore_p | |
FUN 2556 14644 27'170'339 1'952 &nsync_mu_semaphore_p_futex | |
FUN 2556 14644 27'251'528 1'984 &nsync_futex_wait_ | |
FUN 2556 14644 27'331'951 2'112 &cosmo_once | |
FUN 2556 14644 27'418'652 2'144 &nsync_futex_init_ | |
FUN 2556 14644 27'992'417 2'112 &__errno_location | |
FUN 2556 14644 28'120'230 2'112 &__sig_block | |
FUN 2556 14644 28'219'880 2'112 &nsync_futex_wait_win32_.constprop.0 | |
FUN 2556 14644 28'307'166 2'208 ×pec_real | |
FUN 2556 14644 28'484'180 2'240 &clock_gettime | |
FUN 2556 14644 28'887'275 2'272 &__clock_gettime_init | |
FUN 2556 14644 29'007'068 2'320 &sys_clock_gettime_nt | |
FUN 2556 14644 29'150'522 2'384 &GetSystemTimePreciseAsFileTime | |
FUN 2556 14644 29'235'420 2'384 &WindowsTimeToTimeSpec | |
FUN 2556 14644 29'337'599 2'400 &WindowsDurationToTimeSpec | |
FUN 2556 14644 29'449'942 2'208 ×pec_cmp | |
FUN 2556 14644 29'546'150 2'208 ×pec_sub | |
FUN 2556 14644 29'626'531 2'208 ×pec_tomillis | |
FUN 2556 14644 29'721'262 2'208 &WaitOnAddress | |
fork() ReadFile_SIZE_CHECK() failed with win32 error 0 |
This file contains 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
>src\forktest.com --strace | |
SYS 7380 7380 1'695'448 bell system five system call support 8'253'249 magnums loaded on the new technology | |
SYS 7380 6160 3'472'438 getenv("_COSMO_FDS") → NULL | |
SYS 7380 6160 3'633'914 getenv("COSMOPOLITAN_DISABLE_ZIPOS") → NULL | |
SYS 7380 6160 3'704'298 getenv("COSMOPOLITAN_INIT_ZIPOS") → NULL | |
SYS 7380 6160 3'924'015 GetProgramExecutableName() → "/C/Users/IvanK/cosmo/src/forktest.com" | |
SYS 7380 6160 4'074'555 openat(AT_FDCWD, "/C/Users/IvanK/cosmo/src/forktest.com", O_RDONLY) → 3 | |
SYS 7380 6160 4'977'114 fstat(3, [{.st_size=389'975, .st_blocks=393'216/512, .st_mode=0100700, .st_uid=26992, .st_gid=26992, .st_dev=0xac5af16d, .st_ino=0xa00000002661c, .st_flags=20}]) → 0 | |
SYS 7380 6160 6'825'243 mmap(0, 389'975, PROT_READ, MAP_SHARED, 3, 0) → 0x100080040000 (8'847'360 bytes total) | |
SYS 7380 6160 6'954'903 munmap(0x100080040000, 327'680) → 0 (8'519'680 bytes total) | |
SYS 7380 6160 23'211'123 madvise(0x100080098000, 28'672, 127) → -1 EINVAL | |
SYS 7380 6160 23'980'688 mmap(0, 24, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x100080040000 (8'585'216 bytes total) | |
SYS 7380 6160 24'088'240 close(3) → 0 | |
SYS 7380 6160 24'124'618 __zipos_get("/C/Users/IvanK/cosmo/src/forktest.com") → 0 | |
SYS 7380 6160 24'177'323 mmap(0, 65'536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x100080050000 (8'650'752 bytes total) | |
SYS 7380 6160 25'582'390 inflate([u"SYMT☺ ↓♣ ☺ ☺ @ "...], 65'536, u"φ╜y|T╒∙°⌂é←n%«á╒Æ║¶¼☻☺¼αJB2!)If╠$♦▄.ôÖ¢d"..., 18'808) → 0 | |
SYS 7380 6160 25'677'663 GetSymbolTableFromZip() → 0x100080050000 | |
SYS 7380 6160 25'755'179 getenv("TERM") → "xterm-256color" | |
before forking | |
SYS 7380 6160 25'927'516 write(1, u"before forking◙", 15) → 15 | |
SYS 7380 6160 26'051'193 GetProgramExecutableName() → "/C/Users/IvanK/cosmo/src/forktest.com" | |
fork() ReadFile_SIZE_CHECK() failed with win32 error 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment