Skip to content

Instantly share code, notes, and snippets.

@gridaphobe
Forked from goldfirere/dtruss-output.txt
Last active November 15, 2018 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gridaphobe/dd3df6616720c571548584160912b950 to your computer and use it in GitHub Desktop.
Save gridaphobe/dd3df6616720c571548584160912b950 to your computer and use it in GitHub Desktop.
❯ dtruss "inplace/bin/ghc-stage1" -static -optc-DDEBUG -ticky -DTICKY_TICKY -eventlog -O -H64m -Wall -Werror -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint -DDTRACE -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen -O2 -Wcpp-undef -O0 -Wnoncanonical-monad-instances -c rts/StgStartup.cmm -o rts/dist/build/StgStartup.debug_o
Password:
SYSCALL(args) = return
issetugid(0x0, 0x0, 0x0) = 0 0
getentropy(0x7FFEECBB5910, 0x20, 0x0) = 0 0
getpid(0x0, 0x0, 0x0) = 59214 0
stat64("/AppleInternal\0", 0x7FFEECBB5E30, 0x0) = -1 Err#2
csops(0xE74E, 0x7, 0x7FFEECBB5960) = 0 0
proc_info(0x2, 0xE74E, 0xD) = 64 0
csops(0xE74E, 0x7, 0x7FFEECBB51B0) = 0 0
sigprocmask(0x1, 0x0, 0x7FFEECBB6CF0) = 0x0 0
sigaltstack(0x0, 0x7FFEECBB6CE0, 0x0) = 0 0
open("/dev/tty\0", 0x6, 0xFFFFFFFFA49EA6B8) = 3 0
close(0x3) = 0 0
open_nocancel("/usr/share/locale/en_US.UTF-8/LC_COLLATE\0", 0x0, 0x7) = 3 0
fcntl_nocancel(0x3, 0x3, 0x0) = 0 0
getrlimit(0x1008, 0x7FFEECBB6670, 0x0) = 0 0
fstat64(0x3, 0x7FFEECBB65E8, 0x0) = 0 0
read_nocancel(0x3, "1.1A\n\0", 0x1000) = 2086 0
close_nocancel(0x3) = 0 0
open_nocancel("/usr/share/locale/en_US.UTF-8/LC_CTYPE\0", 0x0, 0x5) = 3 0
fcntl_nocancel(0x3, 0x3, 0x0) = 0 0
fstat64(0x3, 0x7FFEECBB6728, 0x0) = 0 0
fstat64(0x3, 0x7FFEECBB6528, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
lseek(0x3, 0x0, 0x0) = 0 0
read_nocancel(0x3, "RuneMagAUTF-8\0", 0x1000) = 4096 0
read_nocancel(0x3, "\0", 0x1000) = 4096 0
read_nocancel(0x3, "\0", 0x1000) = 4096 0
read_nocancel(0x3, "\0", 0x1000) = 4096 0
read_nocancel(0x3, "\0", 0x1000) = 4096 0
read_nocancel(0x3, "\0", 0x1000) = 4096 0
read_nocancel(0x3, "\0", 0x1000) = 4096 0
read_nocancel(0x3, "@\004\211\0", 0xF5D0) = 62928 0
close_nocancel(0x3) = 0 0
open_nocancel("/usr/share/locale/en_US.UTF-8/LC_MONETARY\0", 0x0, 0x8) = 3 0
fstat64(0x3, 0x7FFEECBB6730, 0x0) = 0 0
read_nocancel(0x3, "USD \n$\n.\n,\n3;3\n\n-\n2\n2\n1\n0\n1\n0\n1\n1\n(\0", 0x22) = 34 0
close_nocancel(0x3) = 0 0
open_nocancel("/usr/share/locale/en_US.UTF-8/LC_NUMERIC\0", 0x0, 0x7) = 3 0
fstat64(0x3, 0x7FFEECBB6730, 0x0) = 0 0
read_nocancel(0x3, ".\n,\n3;3\n@$\b\0", 0x8) = 8 0
close_nocancel(0x3) = 0 0
open_nocancel("/usr/share/locale/en_US.UTF-8/LC_TIME\0", 0x0, 0x4) = 3 0
fstat64(0x3, 0x7FFEECBB6730, 0x0) = 0 0
read_nocancel(0x3, "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug\nSep\nOct\nNov\nDec\nJanuary\nFebruary\nMarch\nApril\nMay\nJune\nJuly\nAugust\nSeptember\nOctober\nNovember\nDecember\nSun\nMon\nTue\nWed\nThu\nFri\nSat\nSunday\nMonday\nTuesday\nWednesday\nThursday\nFriday\nSaturday\n%H:%M:%S\n%m/%d/%Y\n%a %b %e %X %Y\nAM\nP", 0x179) = 377 0
close_nocancel(0x3) = 0 0
open_nocancel("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/LC_MESSAGES\0", 0x0, 0xFFFFFFFFFFFFFFF4) = 3 0
fstat64(0x3, 0x7FFEECBB6730, 0x0) = 0 0
read_nocancel(0x3, "^[yYsS].*\n^[nN].*\n(\0", 0x12) = 18 0
close_nocancel(0x3) = 0 0
getuid(0x0, 0x0, 0x0) = 0 0
getgid(0x0, 0x0, 0x0) = 0 0
geteuid(0x0, 0x0, 0x0) = 0 0
getegid(0x0, 0x0, 0x0) = 0 0
sigprocmask(0x1, 0x0, 0x7FFEECBB6CF0) = 0x0 0
sigaltstack(0x0, 0x7FFEECBB6CE0, 0x0) = 0 0
csops(0x0, 0x0, 0x7FFEECBB6CFC) = 0 0
fstat64(0x2, 0x7FFEECBB6BF8, 0x0) = 0 0
fstat64(0x1, 0x7FFEECBB6BF8, 0x0) = 0 0
sigaction(0x14, 0x7FFEECBB6C88, 0x7FFEECBB6CC8) = 0 0
sigaction(0x14, 0x7FFEECBB6C88, 0x7FFEECBB6CC8) = 0 0
sigaction(0x2, 0x7FFEECBB6C88, 0x7FFEECBB6CC8) = 0 0
sigaction(0x2, 0x7FFEECBB6C88, 0x7FFEECBB6CC8) = 0 0
sigaction(0x3, 0x7FFEECBB6C88, 0x7FFEECBB6CC8) = 0 0
sigaction(0x3, 0x7FFEECBB6C88, 0x7FFEECBB6CC8) = 0 0
sigprocmask(0x1, 0x0, 0x1030D4C24) = 0x0 0
sigaction(0x3, 0x7FFEECBB6C98, 0x7FFEECBB6CD8) = 0 0
sysctl([CTL_KERN, 10, 0, 0, 0, 0] (2), 0x7FFEECBB6BD0, 0x7FFEECBB6BC0, 0x0, 0x0) = 0 0
stat64("/Users/eseidel13/Source/ghc\0", 0x7FFEECBB6AF8, 0x0) = 0 0
stat64(".\0", 0x7FFEECBB6B88, 0x0) = 0 0
getppid(0x0, 0x0, 0x0) = 59212 0
getpgrp(0x0, 0x0, 0x0) = 59209 0
sigaction(0x14, 0x7FFEECBB6C88, 0x7FFEECBB6CC8) = 0 0
getrlimit(0x1007, 0x7FFEECBB6CA0, 0x0) = 0 0
sigprocmask(0x1, 0x0, 0x7FFEECBB6CF0) = 0x0 0
sigaltstack(0x0, 0x7FFEECBB6CE0, 0x0) = 0 0
open("inplace/bin/ghc-stage1\0", 0x0, 0x7) = 3 0
ioctl(0x3, 0x4004667A, 0x7FFEECBB6CA4) = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFEECBB6CA8) = -1 Err#25
lseek(0x3, 0x0, 0x1) = 0 0
read(0x3, "#!/bin/sh\nexecutablename=\"/Users/eseidel13/Source/ghc/inplace/lib/bin/ghc-stage1@\004\b\0", 0x50) = 80 0
lseek(0x3, 0x0, 0x0) = 0 0
getdtablesize(0x0, 0x0, 0x0) = 7168 0
dup2(0x3, 0xFF, 0x0) = 255 0
close(0x3) = 0 0
fcntl(0xFF, 0x2, 0x1) = 0 0
fcntl(0xFF, 0x3, 0x0) = 0 0
fstat64(0xFF, 0x7FFEECBB6C30, 0x0) = 0 0
lseek(0xFF, 0x0, 0x1) = 0 0
sigprocmask(0x1, 0x0, 0x7FFEECBB6CB0) = 0x0 0
sigaltstack(0x0, 0x7FFEECBB6CA0, 0x0) = 0 0
read(0xFF, "#!/bin/sh\nexecutablename=\"/Users/eseidel13/Source/ghc/inplace/lib/bin/ghc-stage1\"\ndatadir=\"/Users/eseidel13/Source/ghc/inplace/lib\"\nbindir=\"/Users/eseidel13/Source/ghc/inplace/bin\"\ntopdir=\"/Users/eseidel13/Source/ghc/inplace/lib\"\npgmgcc=\"gcc\"\nexport DYLD_L", 0x728) = 1832 0
sigprocmask(0x1, 0x0, 0x7FFEECBB6CB0) = 0x0 0
sigaltstack(0x0, 0x7FFEECBB6CA0, 0x0) = 0 0
sigprocmask(0x1, 0x0, 0x7FFEECBB6CB0) = 0x0 0
sigaltstack(0x0, 0x7FFEECBB6CA0, 0x0) = 0 0
sigprocmask(0x1, 0x0, 0x7FFEECBB6CB0) = 0x0 0
sigaltstack(0x0, 0x7FFEECBB6CA0, 0x0) = 0 0
sigprocmask(0x1, 0x0, 0x7FFEECBB6CB0) = 0x0 0
sigaltstack(0x0, 0x7FFEECBB6CA0, 0x0) = 0 0
sigprocmask(0x1, 0x0, 0x7FFEECBB6CB0) = 0x0 0
sigaltstack(0x0, 0x7FFEECBB6CA0, 0x0) = 0 0
sigprocmask(0x1, 0x0, 0x7FFEECBB6CB0) = 0x0 0
sigaltstack(0x0, 0x7FFEECBB6CA0, 0x0) = 0 0
sigprocmask(0x1, 0x0, 0x7FFEECBB6CB0) = 0x0 0
sigaltstack(0x0, 0x7FFEECBB6CA0, 0x0) = 0 0
sigaction(0x2, 0x7FFEECBB6788, 0x7FFEECBB67C8) = 0 0
sigaction(0x3, 0x7FFEECBB6788, 0x7FFEECBB67C8) = 0 0
sigaction(0x14, 0x7FFEECBB6788, 0x7FFEECBB67C8) = 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment