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: 63274: created capset 0 of type CapsetOsProcess 64951: created capset 1 of type CapsetClockDomain 67604: created cap 0 68442: assigned cap 0 to capset 0 69211: assigned cap 0 to capset 1 70049: cap 0: spark stats: 0 created, 0 converted, 0 remaining (0 overflowed, 0 dud, 0 GC'd, 0 fizzled) 73401: capset 1: wall clock time 1496042138s 798224000ns (unix epoch) 74518: capset 0: pid 30441 75915: capset 0: parent pid 27111 77871: capset 0: RTS version "GHC-8.2.0.20170507 rts_thr_p" 79547: capset 0: args: ["./sleep","+RTS","-l","-hm"] 81782: 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"] 109298: 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 217060: start heap profiling 0 at sampling period 100000000 broken down by module 218876: cost centre 110 IDLE in IDLE at 220063: cost centre 109 PINNED in SYSTEM at 220902: cost centre 108 DONT_CARE in MAIN at 221670: cost centre 107 OVERHEAD_of in PROFILING at 222438: cost centre 106 GC in GC at 223276: cost centre 105 SYSTEM in SYSTEM at 223974: cost centre 104 MAIN in MAIN at 224813: cost centre 103 CAF in GHC.Types at CAF 225930: cost centre 102 CAF in GHC.Tuple at CAF 226768: cost centre 101 CAF in GHC.Classes at CAF 227606: cost centre 100 CAF in GHC.CString at CAF 228514: cost centre 99 CAF in GHC.Integer.Type at CAF 229282: cost centre 98 CAF in GHC.Integer.Logarithms.Internals at CAF 230120: cost centre 97 CAF in GHC.Integer.Logarithms at CAF 230889: cost centre 96 CAF in GHC.Event.Array at CAF 231866: cost centre 95 CAF in GHC.Event.Arr at CAF 232635: cost centre 94 CAF in Data.Proxy at CAF 233263: cost centre 93 CAF in GHC.Event.Poll at CAF 234241: cost centre 92 CAF in GHC.Event.PSQ at CAF 235079: cost centre 91 CAF in GHC.Event.Manager at CAF 235987: cost centre 90 CAF in GHC.Event.IntTable at CAF 236825: cost centre 89 CAF in GHC.Event.EPoll at CAF 237733: cost centre 88 CAF in GHC.Event.Control at CAF 238501: cost centre 87 CAF in System.Posix.Types at CAF 239269: cost centre 86 CAF in GHC.Storable at CAF 240037: cost centre 85 CAF in GHC.Natural at CAF 240945: cost centre 84 CAF in GHC.IO.FD at CAF 241783: cost centre 83 CAF in GHC.IO.Device at CAF 242622: cost centre 82 CAF in GHC.IO.BufferedIO at CAF 243320: cost centre 81 CAF in GHC.Generics at CAF 244158: cost centre 80 CAF in GHC.Float.RealFracMethods at CAF 244926: cost centre 79 CAF in GHC.Float.ConversionUtils at CAF 245694: cost centre 78 CAF in GHC.Float at CAF 246463: cost centre 77 CAF in GHC.Enum at CAF 247231: cost centre 76 CAF in GHC.Char at CAF 248139: cost centre 75 CAF in GHC.Arr at CAF 248977: cost centre 74 CAF in Foreign.Storable at CAF 249815: cost centre 73 CAF in Foreign.Marshal.Array at CAF 250653: cost centre 72 CAF in Foreign.Marshal.Alloc at CAF 251421: cost centre 71 CAF in Foreign.C.Types at CAF 252190: cost centre 70 CAF in Foreign.C.String at CAF 253237: cost centre 69 CAF in Foreign.C.Error at CAF 254075: cost centre 68 CAF in Data.Type.Equality at CAF 254843: cost centre 67 CAF in Data.Tuple at CAF 255542: cost centre 66 CAF in Data.Maybe at CAF 256380: cost centre 65 CAF in Data.Dynamic at CAF 257078: cost centre 64 CAF in Data.Bits at CAF 257846: cost centre 63 CAF in Control.Monad.Fail at CAF 258685: cost centre 62 CAF in GHC.Event.Unique at CAF 259592: cost centre 61 CAF in GHC.Event.TimerManager at CAF 260431: cost centre 60 CAF in GHC.Event.Thread at CAF 261269: cost centre 59 CAF in GHC.Event.Internal at CAF 262177: cost centre 58 CAF in Data.Typeable.Internal at CAF 262945: cost centre 57 CAF in Data.OldList at CAF 263713: cost centre 56 CAF in Text.Read.Lex at CAF 264551: cost centre 55 CAF in Text.ParserCombinators.ReadPrec at CAF 265319: cost centre 54 CAF in Text.ParserCombinators.ReadP at CAF 266088: cost centre 53 CAF in System.Posix.Internals at CAF 266856: cost centre 52 CAF in System.IO at CAF 267624: cost centre 51 CAF in Numeric at CAF 268462: cost centre 50 CAF in GHC.Word at CAF 269300: cost centre 49 CAF in GHC.Weak at CAF 270068: cost centre 48 CAF in GHC.Unicode at CAF 270906: cost centre 47 CAF in GHC.TopHandler at CAF 271745: cost centre 46 CAF in GHC.Stack.Types at CAF 273910: cost centre 45 CAF in GHC.Stack.CCS at CAF 274678: cost centre 44 CAF in GHC.Stable at CAF 275516: cost centre 43 CAF in GHC.Show at CAF 276284: cost centre 42 CAF in GHC.STRef at CAF 276982: cost centre 41 CAF in GHC.ST at CAF 277821: cost centre 40 CAF in GHC.Real at CAF 278589: cost centre 39 CAF in GHC.Read at CAF 279357: cost centre 38 CAF in GHC.Ptr at CAF 280125: cost centre 37 CAF in GHC.Pack at CAF 281033: cost centre 36 CAF in GHC.Num at CAF 281801: cost centre 35 CAF in GHC.MVar at CAF 282570: cost centre 34 CAF in GHC.List at CAF 283477: cost centre 33 CAF in GHC.Int at CAF 284176: cost centre 32 CAF in GHC.IORef at CAF 284944: cost centre 31 CAF in GHC.IO.Unsafe at CAF 285852: cost centre 30 CAF in GHC.IO.IOMode at CAF 286760: cost centre 29 CAF in GHC.IO.Handle.Types at CAF 287528: cost centre 28 CAF in GHC.IO.Handle.Text at CAF 288296: cost centre 27 CAF in GHC.IO.Handle.Internals at CAF 289134: cost centre 26 CAF in GHC.IO.Handle.FD at CAF 289973: cost centre 25 CAF in GHC.IO.Handle at CAF 290811: cost centre 24 CAF in GHC.IO.Exception at CAF 291649: cost centre 23 CAF in GHC.IO.Encoding.UTF8 at CAF 292696: cost centre 22 CAF in GHC.IO.Encoding.UTF32 at CAF 293534: cost centre 21 CAF in GHC.IO.Encoding.UTF16 at CAF 294372: cost centre 20 CAF in GHC.IO.Encoding.Types at CAF 295141: cost centre 19 CAF in GHC.IO.Encoding.Latin1 at CAF 295979: cost centre 18 CAF in GHC.IO.Encoding.Iconv at CAF 296747: cost centre 17 CAF in GHC.IO.Encoding.Failure at CAF 297585: cost centre 16 CAF in GHC.IO.Encoding at CAF 298353: cost centre 15 CAF in GHC.IO.Buffer at CAF 299191: cost centre 14 CAF in GHC.IO at CAF 300099: cost centre 13 CAF in GHC.ForeignPtr at CAF 300937: cost centre 12 CAF in GHC.Foreign at CAF 301775: cost centre 11 CAF in GHC.Fingerprint.Type at CAF 302613: cost centre 10 CAF in GHC.Fingerprint at CAF 303452: cost centre 9 CAF in GHC.Exception at CAF 304429: cost centre 8 CAF in GHC.Err at CAF 305197: cost centre 7 CAF in GHC.Conc.Sync at CAF 306036: cost centre 6 CAF in GHC.Conc.Signal at CAF 306874: cost centre 5 CAF in GHC.Conc.IO at CAF 307712: cost centre 4 CAF in GHC.Base at CAF 308410: cost centre 3 CAF in Data.Either at CAF 309318: cost centre 2 CAF in Control.Exception.Base at CAF 310016: cost centre 1 CAF in Main at CAF 353596: task 0x7f96b7bda740 created on cap 0 with OS kernel thread 30441 357647: cap 0: creating thread 1 360859: cap 0: running thread 1 395500: cap 0: stopping thread 1 (stack overflow) 402414: cap 0: running thread 1 419524: cap 0: creating thread 2 429162: cap 0: stopping thread 1 (thread yielding) 491529: task 0x7f96b5893700 created on cap 0 with OS kernel thread 30443 492925: cap 0: running thread 2 502982: cap 0: stopping thread 2 (thread yielding) 542162: cap 0: running thread 1 559273: cap 0: thread 2 has label "IOManager on cap 0" 581691: cap 0: creating thread 3 584415: cap 0: stopping thread 1 (thread yielding) 593145: cap 0: running thread 2 597545: cap 0: stopping thread 2 (making a foreign call) 670317: task 0x7f96b5092700 created on cap 0 with OS kernel thread 30444 672133: cap 0: running thread 3 687288: cap 0: stopping thread 3 (making a foreign call) 695529: cap 0: running thread 1 701535: cap 0: thread 3 has label "TimerManager" 702932: cap 0: stopping thread 1 (thread finished) 750353: task 0x7f96b7bda740 deleted 764670: task 0x7f96b4891700 created on cap 0 with OS kernel thread 30445 771235: task 0x7f96b7bda740 created on cap 0 with OS kernel thread 30441 774587: cap 0: creating thread 4 775774: cap 0: running thread 4 805526: cap 0: stopping thread 4 (blocked on an MVar) 810065: cap 0: running thread 3 818167: cap 0: stopping thread 3 (making a foreign call) 302513831: cap 0: running thread 3 302537507: cap 0: stopping thread 3 (thread yielding) 302554687: cap 0: running thread 3 302581994: cap 0: stopping thread 3 (making a foreign call) 302712524: cap 0: requesting parallel GC 302718320: cap 0: starting GC 302729076: cap 0: GC working 302893268: cap 0: GC idle 302894385: cap 0: GC done 302898436: cap 0: GC idle 302899274: cap 0: GC done 302900531: cap 0: GC idle 302901369: cap 0: GC done 302917921: cap 0: allocated on heap capset 0: 75736 total bytes till now 302920505: cap 0: finished GC 302922111: cap 0: all caps stopped for GC 302923159: 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 302924625: cap 0: live data in heap capset 0: 19944 bytes 302925533: cap 0: size of heap capset 0: 2097152 bytes 302927349: cap 0: spark stats: 0 created, 0 converted, 0 remaining (0 overflowed, 0 dud, 0 GC'd, 0 fizzled) 5006341678: cap 0: running thread 3 5006356694: cap 0: waking up thread 4 on cap 0 5006364516: cap 0: stopping thread 3 (making a foreign call) 5006433447: cap 0: running thread 4 5006436729: cap 0: stopping thread 4 (thread finished) 5006439942: task 0x7f96b7bda740 deleted 5006449300: task 0x7f96b7bda740 created on cap 0 with OS kernel thread 30441 5006452583: cap 0: creating thread 5 5006454608: cap 0: running thread 5 5006484499: cap 0: stopping thread 5 (thread yielding) 5006489807: cap 0: requesting parallel GC 5006508943: cap 0: starting GC 5006517044: cap 0: GC working 5006736898: cap 0: GC idle 5006738016: cap 0: GC done 5006743254: cap 0: GC idle 5006744162: cap 0: GC done 5006745908: cap 0: GC idle 5006746816: cap 0: GC done 5006839492: start heap prof sample 0 5006846616: heap prof sample 0, residency 48, label GHC.Event.Poll 5006850527: heap prof sample 0, residency 120, label GHC.IO.Encoding.Iconv 5006852482: heap prof sample 0, residency 640, label GHC.Conc.Signal 5006854368: heap prof sample 0, residency 560, label GHC.Event.Thread 5006855974: heap prof sample 0, residency 128, label GHC.IO.Handle.FD 5006857511: heap prof sample 0, residency 696, label GHC.IO.Encoding 5006859117: heap prof sample 0, residency 9880, label MAIN 5006932378: cap 0: allocated on heap capset 0: 81112 total bytes till now 5006934334: cap 0: finished GC 5006935731: cap 0: all caps stopped for GC 5006936918: 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 5006938105: cap 0: live data in heap capset 0: 21240 bytes 5006939153: cap 0: size of heap capset 0: 2097152 bytes 5006941807: cap 0: spark stats: 0 created, 0 converted, 0 remaining (0 overflowed, 0 dud, 0 GC'd, 0 fizzled) 5006945019: cap 0: running thread 5 5007003894: cap 0: stopping thread 5 (thread finished) 5007005779: task 0x7f96b7bda740 deleted 5007024217: cap 0: requesting sequential GC 5007027220: cap 0: starting GC 5007031341: cap 0: GC working 5007190714: cap 0: GC idle 5007191761: cap 0: GC done 5007196091: cap 0: GC idle 5007196929: cap 0: GC done 5007198117: cap 0: GC idle 5007199094: cap 0: GC done 5007213272: cap 0: allocated on heap capset 0: 119504 total bytes till now 5007215437: cap 0: finished GC 5007216415: cap 0: all caps stopped for GC 5007217323: 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 5007218440: cap 0: live data in heap capset 0: 55552 bytes 5007219348: cap 0: size of heap capset 0: 2097152 bytes 5007221024: cap 0: spark stats: 0 created, 0 converted, 0 remaining (0 overflowed, 0 dud, 0 GC'd, 0 fizzled) 5007240579: cap 0: running thread 3 5007285067: cap 0: stopping thread 3 (thread finished) 5007294914: task 0x7f96b5092700 deleted 5007323478: cap 0: running thread 2 5007359026: cap 0: stopping thread 2 (thread finished) 5007366639: task 0x7f96b5893700 deleted 5007392619: task 0x7f96b4891700 deleted 5007414828: cap 0: spark stats: 0 created, 0 converted, 0 remaining (0 overflowed, 0 dud, 0 GC'd, 0 fizzled) 5007493746: cap 0: allocated on heap capset 0: 121184 total bytes till now 5007498356: removed cap 0 from capset 0 5007499403: removed cap 0 from capset 1 5007500381: deleted cap 0 5007501429: deleted capset 0 5007502336: deleted capset 1