Event Types: 0: Create thread (size 4) 1: Run thread (size 4) 2: Stop thread (size 10) 3: Thread runnable (size 4) 4: Migrate thread (size 6) 8: Wakeup thread (size 6) 9: Starting GC (size 0) 10: Finished GC (size 0) 11: Request sequential GC (size 0) 12: Request parallel GC (size 0) 15: Create spark thread (size 4) 16: Log message (size variable) 18: Block marker (size 14) 19: User message (size variable) 20: GC idle (size 0) 21: GC working (size 0) 22: GC done (size 0) 25: Create capability set (size 6) 26: Delete capability set (size 4) 27: Add capability to capability set (size 6) 28: Remove capability from capability set (size 6) 29: RTS name and version (size variable) 30: Program arguments (size variable) 31: Program environment variables (size variable) 32: Process ID (size 8) 33: Parent process ID (size 8) 34: Spark counters (size 56) 35: Spark create (size 0) 36: Spark dud (size 0) 37: Spark overflow (size 0) 38: Spark run (size 0) 39: Spark steal (size 2) 40: Spark fizzle (size 0) 41: Spark GC (size 0) 43: Wall clock time (size 16) 44: Thread label (size variable) 45: Create capability (size 2) 46: Delete capability (size 2) 47: Disable capability (size 2) 48: Enable capability (size 2) 49: Total heap mem ever allocated (size 12) 50: Current heap size (size 12) 51: Current heap live data (size 12) 52: Heap static parameters (size 38) 53: GC statistics (size 50) 54: Synchronise stop-the-world GC (size 0) 55: Task create (size 18) 56: Task migrate (size 12) 57: Task delete (size 8) 58: User marker (size variable) 59: Empty event for bug #9003 (size 0) 160: Start of heap profile (size variable) 161: Cost center definition (size variable) 162: Start of heap profile sample (size 8) 163: Heap profile cost-centre sample (size variable) 164: Heap profile string sample (size variable) Events: 130320: created capset 0 of type CapsetOsProcess 132904: created capset 1 of type CapsetClockDomain 151342: created cap 0 152389: assigned cap 0 to capset 0 153367: assigned cap 0 to capset 1 154624: cap 0: spark stats: 0 created, 0 converted, 0 remaining (0 overflowed, 0 dud, 0 GC'd, 0 fizzled) 160351: capset 1: wall clock time 1496042179s 794167000ns (unix epoch) 161817: capset 0: pid 30912 164681: capset 0: parent pid 27111 169290: capset 0: RTS version "GHC-8.2.0.20170507 rts_thr_p" 173690: capset 0: args: ["./sleep","+RTS","-l","-hC"] 178579: capset 0: env: ["ADOTDIR=/home/maoe/.antigen","ANTIGEN_COMPDUMPFILE=/home/maoe/.zcompdump","ANTIGEN_DEFAULT_REPO_URL=https://github.com/robbyrussell/oh-my-zsh.git","AUTOJUMP_ERROR_PATH=/home/maoe/.local/share/autojump/errors.log","AUTOJUMP_SOURCED=1","CLUTTER_IM_MODULE=xim","DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ioIEQwU7Ny","DEFAULTS_PATH=/usr/share/gconf/gnome.default.path","DERBY_HOME=/usr/lib/jvm/java-8-oracle/db","DESKTOP_SESSION=gnome","DISPLAY=:0","EDITOR=vim","GDMSESSION=gnome","GDM_LANG=en","GJS_DEBUG_OUTPUT=stderr","GJS_DEBUG_TOPICS=JS ERROR;JS LOG","GNOME_DESKTOP_SESSION_ID=this-is-deprecated","GNOME_KEYRING_CONTROL=","GNOME_KEYRING_PID=","GOPATH=/home/maoe/.go","GPG_AGENT_INFO=/home/maoe/.gnupg/S.gpg-agent:0:1","GTK_IM_MODULE=ibus","HOME=/home/maoe","IM_CONFIG_PHASE=1","INSTANCE=","J2REDIR=/usr/lib/jvm/java-8-oracle/jre","J2SDKDIR=/usr/lib/jvm/java-8-oracle","JAVA_HOME=/usr/lib/jvm/java-8-oracle","JOB=dbus","LANG=en_US.UTF-8","LANGUAGE=en","LC_ADDRESS=en_US.UTF-8","LC_CTYPE=en_US.UTF-8","LC_IDENTIFICATION=en_US.UTF-8","LC_MEASUREMENT=en_US.UTF-8","LC_MONETARY=en_US.UTF-8","LC_NAME=en_US.UTF-8","LC_NUMERIC=en_US.UTF-8","LC_PAPER=en_US.UTF-8","LC_TELEPHONE=en_US.UTF-8","LC_TIME=en_US.UTF-8","LESS=-R","LIBVIRT_DEFAULT_URI=qemu:///system","LOGNAME=maoe","LS_COLORS=di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30","MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path","NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript","OLDPWD=/home/maoe/src/github.com/haskell/ghc-events","PAGER=less","PAPERSIZE=letter","PATH=/usr/local/ghc/ghc-8.2.0-rc2/bin:/home/maoe/.npm-packages/bin:/home/maoe/Downloads/google-cloud-sdk/bin:/home/maoe/src/github.com/phacility/arcanist/bin:/home/maoe/.cargo/bin:/home/maoe/.local/bin:/home/maoe/.cabal/bin:/home/maoe/bin:/usr/local/bin:/usr/local/sbin:/home/maoe/.npm-packages/bin:/home/maoe/Downloads/google-cloud-sdk/bin:/home/maoe/src/github.com/phacility/arcanist/bin:/home/maoe/.cargo/bin:/home/maoe/.local/bin:/home/maoe/.cabal/bin:/home/maoe/bin:/usr/local/bin:/usr/local/sbin:/home/maoe/.cargo/bin:/home/maoe/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin","PWD=/home/maoe/src/github.com/haskell/ghc-events","QT4_IM_MODULE=ibus","QT_ACCESSIBILITY=1","QT_IM_MODULE=ibus","QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1","SESSION=gnome","SESSIONTYPE=gnome-session","SESSION_MANAGER=local/vangelis.tsuru.it:@/tmp/.ICE-unix/5489,unix/vangelis.tsuru.it:/tmp/.ICE-unix/5489","SHELL=/bin/zsh","SHLVL=2","SSH_AUTH_SOCK=/run/user/2016/keyring/ssh","TERM=screen-256color","TMUX=/tmp/tmux-2016/default,10542,3","TMUX_PANE=%93","UBUNTU_MENUPROXY=libappmenu.so","UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/2016/5282","USER=maoe","VTE_VERSION=4205","WINDOWID=71468690","XAUTHORITY=/home/maoe/.Xauthority","XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/usr/share/upstart/xdg:/etc/xdg","XDG_CURRENT_DESKTOP=GNOME","XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/","XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/maoe","XDG_MENU_PREFIX=gnome-","XDG_RUNTIME_DIR=/run/user/2016","XDG_SEAT=seat0","XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0","XDG_SESSION_DESKTOP=gnome","XDG_SESSION_ID=c2","XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0","XDG_SESSION_TYPE=x11","XDG_VTNR=7","XMODIFIERS=@im=ibus","ZSH=/home/maoe/.antigen/repos/https-COLON--SLASH--SLASH-github.com-SLASH-robbyrussell-SLASH-oh-my-zsh.git","ZSH_CACHE_DIR=/home/maoe/.antigen/repos/https-COLON--SLASH--SLASH-github.com-SLASH-robbyrussell-SLASH-oh-my-zsh.git/cache/","_=/home/maoe/src/github.com/haskell/ghc-events/./sleep","_ANTIGEN_BUNDLE_RECORD=\nhttps://github.com/robbyrussell/oh-my-zsh.git lib plugin true \nhttps://github.com/robbyrussell/oh-my-zsh.git plugins/git plugin true \nhttps://github.com/robbyrussell/oh-my-zsh.git plugins/pass plugin true \nhttps://github.com/zsh-users/zsh-syntax-highlighting.git / plugin true \nhttps://github.com/robbyrussell/oh-my-zsh.git themes/kphoen.zsh-theme theme true ","_ANTIGEN_LOG_PATH=/home/maoe/.antigen/antigen.log","_ZCACHE_BUNDLES_PATH=/home/maoe/.antigen/.cache/.zcache-bundles","_ZCACHE_CACHE_LOADED=true","_ZCACHE_CACHE_VERSION=v1.4.1","_ZCACHE_EXTENSION_BUNDLE=false","_ZCACHE_EXTENSION_CLEAN_FUNCTIONS=true","_ZCACHE_PATH=/home/maoe/.antigen/.cache","_ZCACHE_PAYLOAD_PATH=/home/maoe/.antigen/.cache/.zcache-payload","LSCOLORS=Gxfxcxdxbxegedabagacad","MANPATH=/home/maoe/.npm-packages/share/man:/home/maoe/.local/share/man:/home/maoe/.cabal/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/lib/jvm/java-8-oracle/man"] 248837: heap stats for heap capset 0: generations 2, 0 bytes max heap size, 1048576 bytes alloc area size, 1048576 bytes mblock size, 4096 bytes block size 552708: start heap profiling 0 at sampling period 100000000 broken down by cost centre 555641: cost centre 110 IDLE in IDLE at 557457: cost centre 109 PINNED in SYSTEM at 558854: cost centre 108 DONT_CARE in MAIN at 560111: cost centre 107 OVERHEAD_of in PROFILING at 561298: cost centre 106 GC in GC at 562625: cost centre 105 SYSTEM in SYSTEM at 563742: cost centre 104 MAIN in MAIN at 565069: cost centre 103 CAF in GHC.Types at CAF 566326: cost centre 102 CAF in GHC.Tuple at CAF 567653: cost centre 101 CAF in GHC.Classes at CAF 568841: cost centre 100 CAF in GHC.CString at CAF 570237: cost centre 99 CAF in GHC.Integer.Type at CAF 571634: cost centre 98 CAF in GHC.Integer.Logarithms.Internals at CAF 572961: cost centre 97 CAF in GHC.Integer.Logarithms at CAF 574288: cost centre 96 CAF in GHC.Event.Array at CAF 575545: cost centre 95 CAF in GHC.Event.Arr at CAF 576663: cost centre 94 CAF in Data.Proxy at CAF 577989: cost centre 93 CAF in GHC.Event.Poll at CAF 579177: cost centre 92 CAF in GHC.Event.PSQ at CAF 580574: cost centre 91 CAF in GHC.Event.Manager at CAF 581970: cost centre 90 CAF in GHC.Event.IntTable at CAF 583227: cost centre 89 CAF in GHC.Event.EPoll at CAF 584485: cost centre 88 CAF in GHC.Event.Control at CAF 585672: cost centre 87 CAF in System.Posix.Types at CAF 586929: cost centre 86 CAF in GHC.Storable at CAF 588116: cost centre 85 CAF in GHC.Natural at CAF 589373: cost centre 84 CAF in GHC.IO.FD at CAF 590770: cost centre 83 CAF in GHC.IO.Device at CAF 592027: cost centre 82 CAF in GHC.IO.BufferedIO at CAF 593424: cost centre 81 CAF in GHC.Generics at CAF 594681: cost centre 80 CAF in GHC.Float.RealFracMethods at CAF 595938: cost centre 79 CAF in GHC.Float.ConversionUtils at CAF 597125: cost centre 78 CAF in GHC.Float at CAF 598522: cost centre 77 CAF in GHC.Enum at CAF 599849: cost centre 76 CAF in GHC.Char at CAF 601386: cost centre 75 CAF in GHC.Arr at CAF 602852: cost centre 74 CAF in Foreign.Storable at CAF 604389: cost centre 73 CAF in Foreign.Marshal.Array at CAF 605855: cost centre 72 CAF in Foreign.Marshal.Alloc at CAF 607112: cost centre 71 CAF in Foreign.C.Types at CAF 608509: cost centre 70 CAF in Foreign.C.String at CAF 609976: cost centre 69 CAF in Foreign.C.Error at CAF 611373: cost centre 68 CAF in Data.Type.Equality at CAF 612630: cost centre 67 CAF in Data.Tuple at CAF 613817: cost centre 66 CAF in Data.Maybe at CAF 615004: cost centre 65 CAF in Data.Dynamic at CAF 616122: cost centre 64 CAF in Data.Bits at CAF 617379: cost centre 63 CAF in Control.Monad.Fail at CAF 618776: cost centre 62 CAF in GHC.Event.Unique at CAF 620172: cost centre 61 CAF in GHC.Event.TimerManager at CAF 621569: cost centre 60 CAF in GHC.Event.Thread at CAF 622826: cost centre 59 CAF in GHC.Event.Internal at CAF 624153: cost centre 58 CAF in Data.Typeable.Internal at CAF 625410: cost centre 57 CAF in Data.OldList at CAF 626598: cost centre 56 CAF in Text.Read.Lex at CAF 627855: cost centre 55 CAF in Text.ParserCombinators.ReadPrec at CAF 629042: cost centre 54 CAF in Text.ParserCombinators.ReadP at CAF 630369: cost centre 53 CAF in System.Posix.Internals at CAF 631556: cost centre 52 CAF in System.IO at CAF 632743: cost centre 51 CAF in Numeric at CAF 634001: cost centre 50 CAF in GHC.Word at CAF 635258: cost centre 49 CAF in GHC.Weak at CAF 636585: cost centre 48 CAF in GHC.Unicode at CAF 637842: cost centre 47 CAF in GHC.TopHandler at CAF 639099: cost centre 46 CAF in GHC.Stack.Types at CAF 644756: cost centre 45 CAF in GHC.Stack.CCS at CAF 646013: cost centre 44 CAF in GHC.Stable at CAF 647340: cost centre 43 CAF in GHC.Show at CAF 648597: cost centre 42 CAF in GHC.STRef at CAF 649854: cost centre 41 CAF in GHC.ST at CAF 651251: cost centre 40 CAF in GHC.Real at CAF 652508: cost centre 39 CAF in GHC.Read at CAF 653835: cost centre 38 CAF in GHC.Ptr at CAF 655092: cost centre 37 CAF in GHC.Pack at CAF 656419: cost centre 36 CAF in GHC.Num at CAF 657746: cost centre 35 CAF in GHC.MVar at CAF 659003: cost centre 34 CAF in GHC.List at CAF 660260: cost centre 33 CAF in GHC.Int at CAF 661378: cost centre 32 CAF in GHC.IORef at CAF 662495: cost centre 31 CAF in GHC.IO.Unsafe at CAF 663892: cost centre 30 CAF in GHC.IO.IOMode at CAF 665289: cost centre 29 CAF in GHC.IO.Handle.Types at CAF 666685: cost centre 28 CAF in GHC.IO.Handle.Text at CAF 668152: cost centre 27 CAF in GHC.IO.Handle.Internals at CAF 669409: cost centre 26 CAF in GHC.IO.Handle.FD at CAF 670736: cost centre 25 CAF in GHC.IO.Handle at CAF 672203: cost centre 24 CAF in GHC.IO.Exception at CAF 673599: cost centre 23 CAF in GHC.IO.Encoding.UTF8 at CAF 674787: cost centre 22 CAF in GHC.IO.Encoding.UTF32 at CAF 676602: cost centre 21 CAF in GHC.IO.Encoding.UTF16 at CAF 677860: cost centre 20 CAF in GHC.IO.Encoding.Types at CAF 679117: cost centre 19 CAF in GHC.IO.Encoding.Latin1 at CAF 680513: cost centre 18 CAF in GHC.IO.Encoding.Iconv at CAF 681771: cost centre 17 CAF in GHC.IO.Encoding.Failure at CAF 683098: cost centre 16 CAF in GHC.IO.Encoding at CAF 684355: cost centre 15 CAF in GHC.IO.Buffer at CAF 685542: cost centre 14 CAF in GHC.IO at CAF 687009: cost centre 13 CAF in GHC.ForeignPtr at CAF 688335: cost centre 12 CAF in GHC.Foreign at CAF 689593: cost centre 11 CAF in GHC.Fingerprint.Type at CAF 690920: cost centre 10 CAF in GHC.Fingerprint at CAF 692316: cost centre 9 CAF in GHC.Exception at CAF 693643: cost centre 8 CAF in GHC.Err at CAF 694900: cost centre 7 CAF in GHC.Conc.Sync at CAF 696088: cost centre 6 CAF in GHC.Conc.Signal at CAF 697345: cost centre 5 CAF in GHC.Conc.IO at CAF 698602: cost centre 4 CAF in GHC.Base at CAF 699859: cost centre 3 CAF in Data.Either at CAF 701116: cost centre 2 CAF in Control.Exception.Base at CAF 702303: cost centre 1 CAF in Main at CAF 831855: task 0x7fe6bcade740 created on cap 0 with OS kernel thread 30912 840166: cap 0: creating thread 1 845683: cap 0: running thread 1 938500: cap 0: stopping thread 1 (stack overflow) 949325: cap 0: running thread 1 994022: cap 0: creating thread 2 1015951: cap 0: stopping thread 1 (thread yielding) 1176651: task 0x7fe6ba797700 created on cap 0 with OS kernel thread 30914 1179724: cap 0: running thread 2 1203540: cap 0: stopping thread 2 (thread yielding) 1223304: cap 0: running thread 1 1252217: cap 0: thread 2 has label "IOManager on cap 0" 1292864: cap 0: creating thread 3 1298591: cap 0: stopping thread 1 (thread yielding) 1314374: cap 0: running thread 2 1320520: cap 0: stopping thread 2 (making a foreign call) 1426327: task 0x7fe6b9f96700 created on cap 0 with OS kernel thread 30915 1429330: cap 0: running thread 3 1455310: cap 0: stopping thread 3 (making a foreign call) 1503080: cap 0: running thread 1 1520400: cap 0: thread 3 has label "TimerManager" 1523473: cap 0: stopping thread 1 (thread finished) 1604487: task 0x7fe6bcade740 deleted 1650301: task 0x7fe6b9795700 created on cap 0 with OS kernel thread 30916 1665666: task 0x7fe6bcade740 created on cap 0 with OS kernel thread 30912 1672021: cap 0: creating thread 4 1673977: cap 0: running thread 4 1724750: cap 0: stopping thread 4 (blocked on an MVar) 1762533: cap 0: running thread 3 1780761: cap 0: stopping thread 3 (making a foreign call) 302988109: cap 0: running thread 3 303012204: cap 0: stopping thread 3 (thread yielding) 303015277: cap 0: running thread 3 303042654: cap 0: stopping thread 3 (making a foreign call) 303166339: cap 0: requesting parallel GC 303173812: cap 0: starting GC 303187430: cap 0: GC working 303401488: cap 0: GC idle 303402675: cap 0: GC done 303408122: cap 0: GC idle 303409100: cap 0: GC done 303410706: cap 0: GC idle 303411614: cap 0: GC done 303433544: cap 0: allocated on heap capset 0: 75736 total bytes till now 303436687: cap 0: finished GC 303438153: cap 0: all caps stopped for GC 303439410: cap 0: GC stats for heap capset 0: generation 1, 19984 bytes copied, 8728 bytes slop, 925696 bytes fragmentation, 1 par threads, 0 bytes max par copied, 19984 bytes total par copied 303441436: cap 0: live data in heap capset 0: 19944 bytes 303442483: cap 0: size of heap capset 0: 2097152 bytes 303445137: cap 0: spark stats: 0 created, 0 converted, 0 remaining (0 overflowed, 0 dud, 0 GC'd, 0 fizzled) 5006855904: cap 0: running thread 3 5006884259: cap 0: waking up thread 4 on cap 0 5006892291: cap 0: stopping thread 3 (making a foreign call) 5006945787: cap 0: running thread 4 5006949140: cap 0: stopping thread 4 (thread finished) 5006952422: task 0x7fe6bcade740 deleted 5006961571: task 0x7fe6bcade740 created on cap 0 with OS kernel thread 30912 5006964574: cap 0: creating thread 5 5006966530: cap 0: running thread 5 5006996211: cap 0: stopping thread 5 (thread yielding) 5007001868: cap 0: requesting parallel GC 5007006827: cap 0: starting GC 5007014719: cap 0: GC working 5007213411: cap 0: GC idle 5007214599: cap 0: GC done 5007219208: cap 0: GC idle 5007220116: cap 0: GC done 5007221722: cap 0: GC idle 5007222630: cap 0: GC done 5007294146: start heap prof sample 0 5007302806: heap prof sample 0, residency 48, cost centre stack 93 5007305809: heap prof sample 0, residency 120, cost centre stack 18 5007307834: heap prof sample 0, residency 640, cost centre stack 6 5007309790: heap prof sample 0, residency 560, cost centre stack 60 5007311745: heap prof sample 0, residency 128, cost centre stack 26 5007313631: heap prof sample 0, residency 696, cost centre stack 16 5007315726: heap prof sample 0, residency 9880, cost centre stack 5007387730: cap 0: allocated on heap capset 0: 81112 total bytes till now 5007389616: cap 0: finished GC 5007390943: cap 0: all caps stopped for GC 5007392060: cap 0: GC stats for heap capset 0: generation 1, 21824 bytes copied, 7432 bytes slop, 954368 bytes fragmentation, 1 par threads, 0 bytes max par copied, 21824 bytes total par copied 5007393457: cap 0: live data in heap capset 0: 21240 bytes 5007394435: cap 0: size of heap capset 0: 2097152 bytes 5007396949: cap 0: spark stats: 0 created, 0 converted, 0 remaining (0 overflowed, 0 dud, 0 GC'd, 0 fizzled) 5007399882: cap 0: running thread 5 5007445348: cap 0: stopping thread 5 (thread finished) 5007447513: task 0x7fe6bcade740 deleted 5007466369: cap 0: requesting sequential GC 5007469931: cap 0: starting GC 5007474191: cap 0: GC working 5007602835: cap 0: GC idle 5007604162: cap 0: GC done 5007609260: cap 0: GC idle 5007610168: cap 0: GC done 5007611425: cap 0: GC idle 5007612613: cap 0: GC done 5007628885: cap 0: allocated on heap capset 0: 119504 total bytes till now 5007631469: cap 0: finished GC 5007632517: cap 0: all caps stopped for GC 5007633494: cap 0: GC stats for heap capset 0: generation 1, 23152 bytes copied, 26368 bytes slop, 856064 bytes fragmentation, 1 par threads, 0 bytes max par copied, 23152 bytes total par copied 5007634821: cap 0: live data in heap capset 0: 55552 bytes 5007635799: cap 0: size of heap capset 0: 2097152 bytes 5007637615: cap 0: spark stats: 0 created, 0 converted, 0 remaining (0 overflowed, 0 dud, 0 GC'd, 0 fizzled) 5007654935: cap 0: running thread 2 5007704730: cap 0: stopping thread 2 (thread finished) 5007713251: task 0x7fe6ba797700 deleted 5007724285: cap 0: running thread 3 5007759135: cap 0: stopping thread 3 (thread finished) 5007769262: task 0x7fe6b9f96700 deleted 5007824156: task 0x7fe6b9795700 deleted 5007837146: cap 0: spark stats: 0 created, 0 converted, 0 remaining (0 overflowed, 0 dud, 0 GC'd, 0 fizzled) 5007897766: cap 0: allocated on heap capset 0: 121184 total bytes till now 5007903283: removed cap 0 from capset 0 5007904541: removed cap 0 from capset 1 5007905658: deleted cap 0 5007906775: deleted capset 0 5007907823: deleted capset 1