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)
166: Start of heap profile (biographical) sample (size 16)
167: Time profile cost-centre stack (size variable)
168: Start of a time profile (size 8)
181: User binary message (size variable)
200: Begin concurrent mark phase (size 0)
201: End concurrent mark phase (size 4)
202: Begin concurrent GC synchronisation (size 0)
203: End concurrent GC synchronisation (size 0)
204: Begin concurrent sweep (size 0)
205: End concurrent sweep (size 0)
206: Update remembered set flushed (size 2)
207: Nonmoving heap census (size 13)

Events:
106238: created capset 0 of type CapsetOsProcess
106338: created capset 1 of type CapsetClockDomain
106739: created cap 0
106739: assigned cap 0 to capset 0
106839: assigned cap 0 to capset 1
107739: capset 1: wall clock time 1659558953s 302565000ns (unix epoch)
108039: capset 0: pid 3092
108739: capset 0: parent pid 3087
110040: capset 0: RTS version "GHC-9.0.2 rts_l"
110640: capset 0: args: ["/home/teo/scratch/repro-ghc-events-utf8/dist-newstyle/build/x86_64-linux/ghc-9.0.2/repro-ghc-events-utf8-0.1.0.0/x/repro/build/repro/repro","+RTS","-l"]
139850: 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
154856: task 0x92b3b0 created on cap 0 with OS kernel thread 3092
156356: cap 0: creating thread 1
157457: cap 0: running thread 1
166560: cap 0: stopping thread 1 (making a foreign call)
166960: cap 0: running thread 1
174963: cap 0: binary message ................................ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~.................................................................................................................................
175163: cap 0: stopping thread 1 (thread finished)
175463: task 0x92b3b0 deleted
176063: task 0x92b3b0 created on cap 0 with OS kernel thread 3092
176163: cap 0: creating thread 2
176263: cap 0: running thread 2
198571: cap 0: stopping thread 2 (thread finished)
198671: task 0x92b3b0 deleted
200972: cap 0: starting GC
203073: cap 0: GC working
257893: cap 0: GC idle
257993: cap 0: GC done
259193: cap 0: GC idle
259193: cap 0: GC done
259493: cap 0: GC idle
259493: cap 0: GC done
261194: cap 0: allocated on heap capset 0: 63408 total bytes till now
261594: cap 0: finished GC
261694: cap 0: all caps stopped for GC
261694: cap 0: GC stats for heap capset 0: generation 1, 3216 bytes copied, 21288 bytes slop, 950272 bytes fragmentation, 1 par threads, 0 bytes max par copied, 3216 bytes total par copied, 0 bytes balanced par copied
261794: cap 0: live data in heap capset 0: 36056 bytes
261894: cap 0: size of heap capset 0: 2097152 bytes
266596: cap 0: allocated on heap capset 0: 63408 total bytes till now
266896: removed cap 0 from capset 0
266996: removed cap 0 from capset 1
266996: deleted cap 0
267096: deleted capset 0
267096: deleted capset 1