Skip to content

Instantly share code, notes, and snippets.

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 mpickering/6d4a9e47047aa41f452930121688ab27 to your computer and use it in GitHub Desktop.
Save mpickering/6d4a9e47047aa41f452930121688ab27 to your computer and use it in GitHub Desktop.
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 58)
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)
165: End of heap profile sample (size 8)
181: User binary message (size variable)
Events:
79710: created capset 0 of type CapsetOsProcess
79770: created capset 1 of type CapsetClockDomain
80042: created cap 0
80083: assigned cap 0 to capset 0
80127: assigned cap 0 to capset 1
80414: capset 1: wall clock time 1562256742s 76420000ns (unix epoch)
80770: capset 0: pid 10499
81116: capset 0: parent pid 6213
82268: capset 0: RTS version "GHC-8.9.0.20190628 rts_p"
82423: capset 0: args: ["./Run","+RTS","-hb","-l-au"]
197921: start heap profiling 0 at sampling period 100000000 broken down by biography
198314: cost centre 131 IDLE in IDLE at <built-in>
198480: cost centre 130 PINNED in SYSTEM at <built-in>
200802: cost centre 129 DONT_CARE in MAIN at <built-in>
200885: cost centre 128 OVERHEAD_of in PROFILING at <built-in>
200967: cost centre 127 GC in GC at <built-in>
201063: cost centre 126 SYSTEM in SYSTEM at <built-in>
201134: cost centre 125 MAIN in MAIN at <built-in>
203334: cost centre 124 CAF in GHC.Types at <entire-module> CAF
203511: cost centre 123 CAF in GHC.Tuple at <entire-module> CAF
205755: cost centre 122 CAF in GHC.PrimopWrappers at <entire-module> CAF
208056: cost centre 121 CAF in GHC.Classes at <entire-module> CAF
208190: cost centre 120 CAF in GHC.CString at <entire-module> CAF
208324: cost centre 119 CAF in GHC.Integer.Type at <entire-module> CAF
208461: cost centre 118 CAF in GHC.Integer.Logarithms.Internals at <entire-module> CAF
208991: cost centre 117 CAF in GHC.Integer.Logarithms at <entire-module> CAF
209062: cost centre 116 CAF in GHC.Event.Arr at <entire-module> CAF
209188: cost centre 115 CAF in GHC.Event.IntTable at <entire-module> CAF
209353: cost centre 114 CAF in GHC.Event.EPoll at <entire-module> CAF
209465: cost centre 113 CAF in GHC.Event.Array at <entire-module> CAF
209521: cost centre 112 CAF in Data.Functor at <entire-module> CAF
209652: cost centre 111 CAF in GHC.Event.Poll at <entire-module> CAF
209762: cost centre 110 CAF in GHC.Event.PSQ at <entire-module> CAF
209912: cost centre 109 CAF in GHC.Event.Manager at <entire-module> CAF
210045: cost centre 108 CAF in GHC.Event.Internal at <entire-module> CAF
210168: cost centre 107 CAF in GHC.Event.Control at <entire-module> CAF
210322: cost centre 106 CAF in System.IO.Error at <entire-module> CAF
212503: cost centre 105 CAF in GHC.Storable at <entire-module> CAF
212620: cost centre 104 CAF in GHC.IO.IOMode at <entire-module> CAF
212753: cost centre 103 CAF in GHC.IO.Handle.Text at <entire-module> CAF
212875: cost centre 102 CAF in GHC.IO.FD at <entire-module> CAF
212991: cost centre 101 CAF in GHC.IO.Encoding.UTF32 at <entire-module> CAF
213118: cost centre 100 CAF in GHC.IO.Encoding.UTF16 at <entire-module> CAF
213245: cost centre 99 CAF in GHC.IO.Encoding.Latin1 at <entire-module> CAF
213357: cost centre 98 CAF in GHC.IO.Encoding.Iconv at <entire-module> CAF
213475: cost centre 97 CAF in GHC.IO.Encoding.Failure at <entire-module> CAF
213603: cost centre 96 CAF in GHC.IO.Encoding at <entire-module> CAF
213773: cost centre 95 CAF in GHC.IO.Device at <entire-module> CAF
213894: cost centre 94 CAF in GHC.IO.BufferedIO at <entire-module> CAF
214058: cost centre 93 CAF in GHC.Float.RealFracMethods at <entire-module> CAF
214224: cost centre 92 CAF in GHC.Float.ConversionUtils at <entire-module> CAF
216768: cost centre 91 CAF in GHC.Float at <entire-module> CAF
216880: cost centre 90 CAF in GHC.Fingerprint.Type at <entire-module> CAF
217015: cost centre 89 CAF in GHC.Fingerprint at <entire-module> CAF
217125: cost centre 88 CAF in GHC.Clock at <entire-module> CAF
217183: cost centre 87 CAF in GHC.Char at <entire-module> CAF
217429: cost centre 86 CAF in Foreign.Storable at <entire-module> CAF
217540: cost centre 85 CAF in Foreign.Marshal.Utils at <entire-module> CAF
217673: cost centre 84 CAF in Foreign.Marshal.Array at <entire-module> CAF
217816: cost centre 83 CAF in Foreign.Marshal.Alloc at <entire-module> CAF
219931: cost centre 82 CAF in Foreign.C.Types at <entire-module> CAF
220062: cost centre 81 CAF in Foreign.C.String at <entire-module> CAF
220201: cost centre 80 CAF in Foreign.C.Error at <entire-module> CAF
220324: cost centre 79 CAF in Data.Typeable at <entire-module> CAF
220447: cost centre 78 CAF in Data.Type.Equality at <entire-module> CAF
220507: cost centre 77 CAF in Data.Tuple at <entire-module> CAF
220633: cost centre 76 CAF in Data.Proxy at <entire-module> CAF
220762: cost centre 75 CAF in Data.Ord at <entire-module> CAF
220878: cost centre 74 CAF in Data.IORef at <entire-module> CAF
221007: cost centre 73 CAF in Data.Dynamic at <entire-module> CAF
221123: cost centre 72 CAF in Data.Bits at <entire-module> CAF
221275: cost centre 71 CAF in Control.Monad.Fail at <entire-module> CAF
221393: cost centre 70 CAF in Control.Concurrent.MVar at <entire-module> CAF
223770: cost centre 69 CAF in GHC.Event.Unique at <entire-module> CAF
223906: cost centre 68 CAF in GHC.Event.TimerManager at <entire-module> CAF
224023: cost centre 67 CAF in GHC.Event.Thread at <entire-module> CAF
224139: cost centre 66 CAF in Foreign.ForeignPtr.Imp at <entire-module> CAF
224268: cost centre 65 CAF in Data.Typeable.Internal at <entire-module> CAF
224386: cost centre 64 CAF in Data.Semigroup.Internal at <entire-module> CAF
224523: cost centre 63 CAF in Data.OldList at <entire-module> CAF
226630: cost centre 62 CAF in Data.Functor.Utils at <entire-module> CAF
226748: cost centre 61 CAF in Unsafe.Coerce at <entire-module> CAF
226872: cost centre 60 CAF in Text.Read.Lex at <entire-module> CAF
226983: cost centre 59 CAF in Text.Read at <entire-module> CAF
228021: cost centre 58 CAF in Text.ParserCombinators.ReadPrec at <entire-module> CAF
228139: cost centre 57 CAF in Text.ParserCombinators.ReadP at <entire-module> CAF
228287: cost centre 56 CAF in System.Posix.Types at <entire-module> CAF
228405: cost centre 55 CAF in System.Posix.Internals at <entire-module> CAF
228542: cost centre 54 CAF in System.IO at <entire-module> CAF
228679: cost centre 53 CAF in Numeric at <entire-module> CAF
228818: cost centre 52 CAF in GHC.Word at <entire-module> CAF
228942: cost centre 51 CAF in GHC.Weak at <entire-module> CAF
229066: cost centre 50 CAF in GHC.Unicode at <entire-module> CAF
229178: cost centre 49 CAF in GHC.TypeNats at <entire-module> CAF
229307: cost centre 48 CAF in GHC.TypeLits at <entire-module> CAF
229419: cost centre 47 CAF in GHC.TopHandler at <entire-module> CAF
229529: cost centre 46 CAF in GHC.Stack.Types at <entire-module> CAF
229645: cost centre 45 CAF in GHC.Stack.CCS at <entire-module> CAF
229791: cost centre 44 CAF in GHC.Stable at <entire-module> CAF
229847: cost centre 43 CAF in GHC.Show at <entire-module> CAF
229941: cost centre 42 CAF in GHC.STRef at <entire-module> CAF
230042: cost centre 41 CAF in GHC.ST at <entire-module> CAF
230170: cost centre 40 CAF in GHC.Real at <entire-module> CAF
230306: cost centre 39 CAF in GHC.Read at <entire-module> CAF
230412: cost centre 38 CAF in GHC.Ptr at <entire-module> CAF
230525: cost centre 37 CAF in GHC.Pack at <entire-module> CAF
230639: cost centre 36 CAF in GHC.Num at <entire-module> CAF
230788: cost centre 35 CAF in GHC.Natural at <entire-module> CAF
230885: cost centre 34 CAF in GHC.MVar at <entire-module> CAF
230988: cost centre 33 CAF in GHC.Maybe at <entire-module> CAF
231110: cost centre 32 CAF in GHC.List at <entire-module> CAF
231222: cost centre 31 CAF in GHC.Int at <entire-module> CAF
231327: cost centre 30 CAF in GHC.IORef at <entire-module> CAF
231422: cost centre 29 CAF in GHC.IOArray at <entire-module> CAF
231530: cost centre 28 CAF in GHC.IO.Unsafe at <entire-module> CAF
233907: cost centre 27 CAF in GHC.IO.Handle.Types at <entire-module> CAF
234030: cost centre 26 CAF in GHC.IO.Handle.Internals at <entire-module> CAF
234169: cost centre 25 CAF in GHC.IO.Handle.FD at <entire-module> CAF
234287: cost centre 24 CAF in GHC.IO.Handle at <entire-module> CAF
234413: cost centre 23 CAF in GHC.IO.Exception at <entire-module> CAF
234552: cost centre 22 CAF in GHC.IO.Encoding.UTF8 at <entire-module> CAF
234673: cost centre 21 CAF in GHC.IO.Encoding.Types at <entire-module> CAF
234790: cost centre 20 CAF in GHC.IO.Buffer at <entire-module> CAF
234950: cost centre 19 CAF in GHC.IO at <entire-module> CAF
237069: cost centre 18 CAF in GHC.Generics at <entire-module> CAF
237198: cost centre 17 CAF in GHC.ForeignPtr at <entire-module> CAF
237340: cost centre 16 CAF in GHC.Foreign at <entire-module> CAF
237449: cost centre 15 CAF in GHC.Exception.Type at <entire-module> CAF
237595: cost centre 14 CAF in GHC.Exception at <entire-module> CAF
237715: cost centre 13 CAF in GHC.Err at <entire-module> CAF
239641: cost centre 12 CAF in GHC.Enum at <entire-module> CAF
239792: cost centre 11 CAF in GHC.Conc.Sync at <entire-module> CAF
239955: cost centre 10 CAF in GHC.Conc.Signal at <entire-module> CAF
240066: cost centre 9 CAF in GHC.Conc.IO at <entire-module> CAF
240205: cost centre 8 CAF in GHC.Base at <entire-module> CAF
240340: cost centre 7 CAF in GHC.Arr at <entire-module> CAF
240468: cost centre 6 CAF in Data.Monoid at <entire-module> CAF
240578: cost centre 5 CAF in Data.Maybe at <entire-module> CAF
240699: cost centre 4 CAF in Data.Foldable at <entire-module> CAF
240823: cost centre 3 CAF in Data.Either at <entire-module> CAF
240887: cost centre 2 CAF in Control.Exception.Base at <entire-module> CAF
241025: cost centre 1 CAF in Main at <entire-module> CAF
7312828463: removed cap 0 from capset 0
7312828595: removed cap 0 from capset 1
7312828707: deleted cap 0
7312828766: deleted capset 0
7312828809: deleted capset 1
7312837331: start heap prof sample 15
7312838634: heap prof sample 0, residency 17410368, label VOID
7312838756: heap prof sample 0, residency 43526944, label LAG
7312838857: heap prof sample 0, residency 400, label USE
7312838942: heap prof sample 0, residency 37656, label INHERENT_USE
7312839034: heap prof sample 0, residency 0, label DRAG
7312839124: End of heap profile sample
7312852864: start heap prof sample 15
7312853276: heap prof sample 0, residency 34263360, label VOID
7312853348: heap prof sample 0, residency 85659424, label LAG
7312853403: heap prof sample 0, residency 400, label USE
7312853469: heap prof sample 0, residency 37656, label INHERENT_USE
7312853525: heap prof sample 0, residency 0, label DRAG
7312853586: End of heap profile sample
7312855300: start heap prof sample 15
7312855659: heap prof sample 0, residency 51425312, label VOID
7312855716: heap prof sample 0, residency 128564152, label LAG
7312855770: heap prof sample 0, residency 400, label USE
7312855825: heap prof sample 0, residency 37656, label INHERENT_USE
7312855879: heap prof sample 0, residency 0, label DRAG
7312855933: End of heap profile sample
7312857348: start heap prof sample 15
7312857660: heap prof sample 0, residency 68717600, label VOID
7312857709: heap prof sample 0, residency 171794872, label LAG
7312857757: heap prof sample 0, residency 400, label USE
7312857807: heap prof sample 0, residency 37656, label INHERENT_USE
7312857853: heap prof sample 0, residency 0, label DRAG
7312857896: End of heap profile sample
7312859290: start heap prof sample 15
7312859606: heap prof sample 0, residency 85490720, label VOID
7312859652: heap prof sample 0, residency 213727672, label LAG
7312859699: heap prof sample 0, residency 400, label USE
7312859744: heap prof sample 0, residency 37656, label INHERENT_USE
7312859801: heap prof sample 0, residency 0, label DRAG
7312859855: End of heap profile sample
7312861323: start heap prof sample 15
7312861647: heap prof sample 0, residency 101305376, label VOID
7312861692: heap prof sample 0, residency 253264312, label LAG
7312861739: heap prof sample 0, residency 400, label USE
7312861781: heap prof sample 0, residency 37656, label INHERENT_USE
7312861824: heap prof sample 0, residency 0, label DRAG
7312861882: End of heap profile sample
7312863296: start heap prof sample 15
7312863599: heap prof sample 0, residency 117479456, label VOID
7312868628: heap prof sample 0, residency 293699512, label LAG
7312868684: heap prof sample 0, residency 400, label USE
7312868740: heap prof sample 0, residency 37656, label INHERENT_USE
7312868797: heap prof sample 0, residency 0, label DRAG
7312868841: End of heap profile sample
7312870365: start heap prof sample 15
7312870663: heap prof sample 0, residency 135091232, label VOID
7312870710: heap prof sample 0, residency 337728952, label LAG
7312870754: heap prof sample 0, residency 400, label USE
7312870814: heap prof sample 0, residency 37656, label INHERENT_USE
7312870859: heap prof sample 0, residency 0, label DRAG
7312870913: End of heap profile sample
7312872326: start heap prof sample 15
7312872623: heap prof sample 0, residency 150426656, label VOID
7312872681: heap prof sample 0, residency 376067512, label LAG
7312872727: heap prof sample 0, residency 400, label USE
7312872785: heap prof sample 0, residency 37656, label INHERENT_USE
7312872831: heap prof sample 0, residency 0, label DRAG
7312872874: End of heap profile sample
7312874374: start heap prof sample 15
7312874676: heap prof sample 0, residency 174791504, label VOID
7312874722: heap prof sample 0, residency 363023176, label LAG
7312874781: heap prof sample 0, residency 360, label USE
7312874826: heap prof sample 0, residency 37656, label INHERENT_USE
7312874870: heap prof sample 0, residency 0, label DRAG
7312874926: End of heap profile sample
7312876338: start heap prof sample 15
7312876651: heap prof sample 0, residency 234343392, label VOID
7312876697: heap prof sample 0, residency 214143456, label LAG
7312876753: heap prof sample 0, residency 360, label USE
7312876798: heap prof sample 0, residency 37656, label INHERENT_USE
7312876844: heap prof sample 0, residency 0, label DRAG
7312876888: End of heap profile sample
7312878253: start heap prof sample 15
7312878565: heap prof sample 0, residency 288751712, label VOID
7312878611: heap prof sample 0, residency 78122656, label LAG
7312878661: heap prof sample 0, residency 360, label USE
7312878707: heap prof sample 0, residency 37656, label INHERENT_USE
7312878751: heap prof sample 0, residency 0, label DRAG
7312878795: End of heap profile sample
7312880159: start heap prof sample 15
7312880482: heap prof sample 0, residency 232263840, label VOID
7312880527: heap prof sample 0, residency 1480, label LAG
7312880572: heap prof sample 0, residency 336, label USE
7312880615: heap prof sample 0, residency 37656, label INHERENT_USE
7312880659: heap prof sample 0, residency 0, label DRAG
7312880701: End of heap profile sample
7312882095: start heap prof sample 15
7312882417: heap prof sample 0, residency 21509344, label VOID
7312882473: heap prof sample 0, residency 1480, label LAG
7312882517: heap prof sample 0, residency 336, label USE
7312882560: heap prof sample 0, residency 37656, label INHERENT_USE
7312882604: heap prof sample 0, residency 0, label DRAG
7312882644: End of heap profile sample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment