falco_event/events/
types.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
use falco_event_derive::event_info;

event_info! {
        [PPME_GENERIC_E] = {"syscall",
                            EC_OTHER | EC_SYSCALL,
                            EF_NONE,
                            2,
                            {{"id", PT_SYSCALLID, PF_DEC}, {"native_id", PT_UINT16, PF_DEC}}},
        [PPME_GENERIC_X] =
                {"syscall", EC_OTHER | EC_SYSCALL, EF_NONE, 1, {{"id", PT_SYSCALLID, PF_DEC}}},
        [PPME_SYSCALL_OPEN_E] = {"open",
                                 EC_FILE | EC_SYSCALL,
                                 EF_CREATES_FD | EF_MODIFIES_STATE,
                                 3,
                                 {{"name", PT_FSPATH, PF_NA},
                                  {"flags", PT_FLAGS32, PF_HEX, file_flags},
                                  {"mode", PT_UINT32, PF_OCT}}},
        [PPME_SYSCALL_OPEN_X] = {"open",
                                 EC_FILE | EC_SYSCALL,
                                 EF_CREATES_FD | EF_MODIFIES_STATE,
                                 6,
                                 {{"fd", PT_FD, PF_DEC},
                                  {"name", PT_FSPATH, PF_NA},
                                  {"flags", PT_FLAGS32, PF_HEX, file_flags},
                                  {"mode", PT_UINT32, PF_OCT},
                                  {"dev", PT_UINT32, PF_HEX},
                                  {"ino", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_CLOSE_E] = {"close",
                                  EC_IO_OTHER | EC_SYSCALL,
                                  EF_DESTROYS_FD | EF_USES_FD | EF_MODIFIES_STATE,
                                  1,
                                  {{"fd", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_CLOSE_X] = {"close",
                                  EC_IO_OTHER | EC_SYSCALL,
                                  EF_DESTROYS_FD | EF_USES_FD | EF_MODIFIES_STATE,
                                  1,
                                  {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_READ_E] = {"read",
                                 EC_IO_READ | EC_SYSCALL,
                                 EF_USES_FD | EF_READS_FROM_FD,
                                 2,
                                 {{"fd", PT_FD, PF_DEC}, {"size", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_READ_X] = {"read",
                                 EC_IO_READ | EC_SYSCALL,
                                 EF_USES_FD | EF_READS_FROM_FD,
                                 2,
                                 {{"res", PT_ERRNO, PF_DEC}, {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_WRITE_E] = {"write",
                                  EC_IO_WRITE | EC_SYSCALL,
                                  EF_USES_FD | EF_WRITES_TO_FD,
                                  2,
                                  {{"fd", PT_FD, PF_DEC}, {"size", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_WRITE_X] = {"write",
                                  EC_IO_WRITE | EC_SYSCALL,
                                  EF_USES_FD | EF_WRITES_TO_FD,
                                  2,
                                  {{"res", PT_ERRNO, PF_DEC}, {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_BRK_1_E] =
                {"brk", EC_MEMORY | EC_SYSCALL, EF_OLD_VERSION, 1, {{"size", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_BRK_1_X] =
                {"brk", EC_MEMORY | EC_SYSCALL, EF_OLD_VERSION, 1, {{"res", PT_UINT64, PF_HEX}}},
        [PPME_SYSCALL_EXECVE_8_E] = {"execve",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     0},
        [PPME_SYSCALL_EXECVE_8_X] = {"execve",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     8,
                                     {{"res", PT_ERRNO, PF_DEC},
                                      {"exe", PT_CHARBUF, PF_NA},
                                      {"args", PT_BYTEBUF, PF_NA},
                                      {"tid", PT_PID, PF_DEC},
                                      {"pid", PT_PID, PF_DEC},
                                      {"ptid", PT_PID, PF_DEC},
                                      {"cwd", PT_CHARBUF, PF_NA},
                                      {"fdlimit", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_CLONE_11_E] = {"clone",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     0},
        [PPME_SYSCALL_CLONE_11_X] = {"clone",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     11,
                                     {{"res", PT_PID, PF_DEC},
                                      {"exe", PT_CHARBUF, PF_NA},
                                      {"args", PT_BYTEBUF, PF_NA},
                                      {"tid", PT_PID, PF_DEC},
                                      {"pid", PT_PID, PF_DEC},
                                      {"ptid", PT_PID, PF_DEC},
                                      {"cwd", PT_CHARBUF, PF_NA},
                                      {"fdlimit", PT_INT64, PF_DEC},
                                      {"flags", PT_FLAGS32, PF_HEX, clone_flags},
                                      {"uid", PT_UINT32, PF_DEC},
                                      {"gid", PT_UINT32, PF_DEC}}},
        [PPME_PROCEXIT_E] = {"procexit",
                             EC_PROCESS | EC_TRACEPOINT,
                             EF_MODIFIES_STATE | EF_OLD_VERSION,
                             0},
        [PPME_PROCEXIT_X] = {"NA", EC_UNKNOWN, EF_UNUSED | EF_OLD_VERSION, 0},
        [PPME_SOCKET_SOCKET_E] = {"socket",
                                  EC_NET | EC_SYSCALL,
                                  EF_CREATES_FD | EF_MODIFIES_STATE,
                                  3,
                                  {{"domain", PT_ENUMFLAGS32, PF_DEC, socket_families},
                                   {"type", PT_UINT32, PF_DEC},
                                   {"proto", PT_UINT32, PF_DEC}}},
        [PPME_SOCKET_SOCKET_X] = {"socket",
                                  EC_NET | EC_SYSCALL,
                                  EF_CREATES_FD | EF_MODIFIES_STATE,
                                  1,
                                  {{"fd", PT_FD, PF_DEC}}},
        [PPME_SOCKET_BIND_E] = {"bind",
                                EC_NET | EC_SYSCALL,
                                EF_USES_FD | EF_MODIFIES_STATE,
                                1,
                                {{"fd", PT_FD, PF_DEC}}},
        [PPME_SOCKET_BIND_X] = {"bind",
                                EC_NET | EC_SYSCALL,
                                EF_USES_FD | EF_MODIFIES_STATE,
                                2,
                                {{"res", PT_ERRNO, PF_DEC}, {"addr", PT_SOCKADDR, PF_NA}}},
        [PPME_SOCKET_CONNECT_E] = {"connect",
                                   EC_NET | EC_SYSCALL,
                                   EF_USES_FD | EF_MODIFIES_STATE,
                                   2,
                                   {{"fd", PT_FD, PF_DEC}, {"addr", PT_SOCKADDR, PF_NA}}},
        [PPME_SOCKET_CONNECT_X] = {"connect",
                                   EC_NET | EC_SYSCALL,
                                   EF_USES_FD | EF_MODIFIES_STATE,
                                   3,
                                   {{"res", PT_ERRNO, PF_DEC},
                                    {"tuple", PT_SOCKTUPLE, PF_NA},
                                    {"fd", PT_FD, PF_DEC}}},
        [PPME_SOCKET_LISTEN_E] = {"listen",
                                  EC_NET | EC_SYSCALL,
                                  EF_USES_FD,
                                  2,
                                  {{"fd", PT_FD, PF_DEC}, {"backlog", PT_INT32, PF_DEC}}},
        [PPME_SOCKET_LISTEN_X] =
                {"listen", EC_NET | EC_SYSCALL, EF_USES_FD, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SOCKET_ACCEPT_E] = {"accept",
                                  EC_NET | EC_SYSCALL,
                                  EF_CREATES_FD | EF_MODIFIES_STATE | EF_OLD_VERSION,
                                  0},
        [PPME_SOCKET_ACCEPT_X] = {"accept",
                                  EC_NET | EC_SYSCALL,
                                  EF_CREATES_FD | EF_MODIFIES_STATE | EF_OLD_VERSION,
                                  3,
                                  {{"fd", PT_FD, PF_DEC},
                                   {"tuple", PT_SOCKTUPLE, PF_NA},
                                   {"queuepct", PT_UINT8, PF_DEC}}},
        [PPME_SOCKET_SEND_E] = {"send",
                                EC_IO_WRITE | EC_SYSCALL,
                                EF_USES_FD | EF_WRITES_TO_FD,
                                2,
                                {{"fd", PT_FD, PF_DEC}, {"size", PT_UINT32, PF_DEC}}},
        [PPME_SOCKET_SEND_X] = {"send",
                                EC_IO_WRITE | EC_SYSCALL,
                                EF_USES_FD | EF_WRITES_TO_FD,
                                2,
                                {{"res", PT_ERRNO, PF_DEC}, {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SOCKET_SENDTO_E] = {"sendto",
                                  EC_IO_WRITE | EC_SYSCALL,
                                  EF_USES_FD | EF_WRITES_TO_FD | EF_MODIFIES_STATE,
                                  3,
                                  {{"fd", PT_FD, PF_DEC},
                                   {"size", PT_UINT32, PF_DEC},
                                   {"tuple", PT_SOCKTUPLE, PF_NA}}},
        [PPME_SOCKET_SENDTO_X] = {"sendto",
                                  EC_IO_WRITE | EC_SYSCALL,
                                  EF_USES_FD | EF_WRITES_TO_FD | EF_MODIFIES_STATE,
                                  2,
                                  {{"res", PT_ERRNO, PF_DEC}, {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SOCKET_RECV_E] = {"recv",
                                EC_IO_READ | EC_SYSCALL,
                                EF_USES_FD | EF_READS_FROM_FD,
                                2,
                                {{"fd", PT_FD, PF_DEC}, {"size", PT_UINT32, PF_DEC}}},
        [PPME_SOCKET_RECV_X] = {"recv",
                                EC_IO_READ | EC_SYSCALL,
                                EF_USES_FD | EF_READS_FROM_FD,
                                2,
                                {{"res", PT_ERRNO, PF_DEC}, {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SOCKET_RECVFROM_E] = {"recvfrom",
                                    EC_IO_READ | EC_SYSCALL,
                                    EF_USES_FD | EF_READS_FROM_FD | EF_MODIFIES_STATE,
                                    2,
                                    {{"fd", PT_FD, PF_DEC}, {"size", PT_UINT32, PF_DEC}}},
        [PPME_SOCKET_RECVFROM_X] = {"recvfrom",
                                    EC_IO_READ | EC_SYSCALL,
                                    EF_USES_FD | EF_READS_FROM_FD | EF_MODIFIES_STATE,
                                    3,
                                    {{"res", PT_ERRNO, PF_DEC},
                                     {"data", PT_BYTEBUF, PF_NA},
                                     {"tuple", PT_SOCKTUPLE, PF_NA}}},
        [PPME_SOCKET_SHUTDOWN_E] = {"shutdown",
                                    EC_NET | EC_SYSCALL,
                                    EF_USES_FD | EF_MODIFIES_STATE,
                                    2,
                                    {{"fd", PT_FD, PF_DEC},
                                     {"how", PT_ENUMFLAGS8, PF_HEX, shutdown_how}}},
        [PPME_SOCKET_SHUTDOWN_X] = {"shutdown",
                                    EC_NET | EC_SYSCALL,
                                    EF_USES_FD | EF_MODIFIES_STATE,
                                    1,
                                    {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SOCKET_GETSOCKNAME_E] = {"getsockname", EC_NET | EC_SYSCALL, EF_NONE, 0},
        [PPME_SOCKET_GETSOCKNAME_X] = {"getsockname", EC_NET | EC_SYSCALL, EF_NONE, 0},
        [PPME_SOCKET_GETPEERNAME_E] = {"getpeername", EC_NET | EC_SYSCALL, EF_NONE, 0},
        [PPME_SOCKET_GETPEERNAME_X] = {"getpeername", EC_NET | EC_SYSCALL, EF_NONE, 0},
        [PPME_SOCKET_SOCKETPAIR_E] = {"socketpair",
                                      EC_IPC | EC_SYSCALL,
                                      EF_CREATES_FD | EF_MODIFIES_STATE,
                                      3,
                                      {{"domain", PT_ENUMFLAGS32, PF_DEC, socket_families},
                                       {"type", PT_UINT32, PF_DEC},
                                       {"proto", PT_UINT32, PF_DEC}}},
        [PPME_SOCKET_SOCKETPAIR_X] = {"socketpair",
                                      EC_IPC | EC_SYSCALL,
                                      EF_CREATES_FD | EF_MODIFIES_STATE,
                                      5,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"fd1", PT_FD, PF_DEC},
                                       {"fd2", PT_FD, PF_DEC},
                                       {"source", PT_UINT64, PF_HEX},
                                       {"peer", PT_UINT64, PF_HEX}}},
        [PPME_SOCKET_SETSOCKOPT_E] = {"setsockopt", EC_NET | EC_SYSCALL, EF_NONE, 0},
        [PPME_SOCKET_SETSOCKOPT_X] =
                {"setsockopt",
                 EC_NET | EC_SYSCALL,
                 EF_USES_FD,
                 6,
                 {{"res", PT_ERRNO, PF_DEC},
                  {"fd", PT_FD, PF_DEC},
                  {"level", PT_ENUMFLAGS8, PF_DEC, sockopt_levels},
                  {"optname", PT_ENUMFLAGS8, PF_DEC, sockopt_options},
                  {"val", PT_DYN, PF_DEC, sockopt_dynamic_param, PPM_SOCKOPT_IDX_MAX},
                  {"optlen", PT_UINT32, PF_DEC}}},
        [PPME_SOCKET_GETSOCKOPT_E] = {"getsockopt", EC_NET | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SOCKET_GETSOCKOPT_X] =
                {"getsockopt",
                 EC_NET | EC_SYSCALL,
                 EF_USES_FD | EF_MODIFIES_STATE,
                 6,
                 {{"res", PT_ERRNO, PF_DEC},
                  {"fd", PT_FD, PF_DEC},
                  {"level", PT_ENUMFLAGS8, PF_DEC, sockopt_levels},
                  {"optname", PT_ENUMFLAGS8, PF_DEC, sockopt_options},
                  {"val", PT_DYN, PF_DEC, sockopt_dynamic_param, PPM_SOCKOPT_IDX_MAX},
                  {"optlen", PT_UINT32, PF_DEC}}},
        [PPME_SOCKET_SENDMSG_E] = {"sendmsg",
                                   EC_IO_WRITE | EC_SYSCALL,
                                   EF_USES_FD | EF_WRITES_TO_FD | EF_MODIFIES_STATE,
                                   3,
                                   {{"fd", PT_FD, PF_DEC},
                                    {"size", PT_UINT32, PF_DEC},
                                    {"tuple", PT_SOCKTUPLE, PF_NA}}},
        [PPME_SOCKET_SENDMSG_X] = {"sendmsg",
                                   EC_IO_WRITE | EC_SYSCALL,
                                   EF_USES_FD | EF_WRITES_TO_FD | EF_MODIFIES_STATE,
                                   2,
                                   {{"res", PT_ERRNO, PF_DEC}, {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SOCKET_SENDMMSG_E] = {"sendmmsg", EC_IO_WRITE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SOCKET_SENDMMSG_X] = {"sendmmsg", EC_IO_WRITE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SOCKET_RECVMSG_E] = {"recvmsg",
                                   EC_IO_READ | EC_SYSCALL,
                                   EF_USES_FD | EF_READS_FROM_FD | EF_MODIFIES_STATE,
                                   1,
                                   {{"fd", PT_FD, PF_DEC}}},
        [PPME_SOCKET_RECVMSG_X] = {"recvmsg",
                                   EC_IO_READ | EC_SYSCALL,
                                   EF_USES_FD | EF_READS_FROM_FD | EF_MODIFIES_STATE,
                                   5,
                                   {{"res", PT_ERRNO, PF_DEC},
                                    {"size", PT_UINT32, PF_DEC},
                                    {"data", PT_BYTEBUF, PF_NA},
                                    {"tuple", PT_SOCKTUPLE, PF_NA},
                                    {"msgcontrol", PT_BYTEBUF, PF_NA}}},
        [PPME_SOCKET_RECVMMSG_E] = {"recvmmsg", EC_IO_READ | EC_SYSCALL, EF_NONE, 0},
        [PPME_SOCKET_RECVMMSG_X] = {"recvmmsg", EC_IO_READ | EC_SYSCALL, EF_NONE, 0},
        [PPME_SOCKET_ACCEPT4_E] = {"accept",
                                   EC_NET | EC_SYSCALL,
                                   EF_CREATES_FD | EF_MODIFIES_STATE | EF_OLD_VERSION,
                                   1,
                                   {{"flags", PT_INT32, PF_HEX}}},
        [PPME_SOCKET_ACCEPT4_X] = {"accept",
                                   EC_NET | EC_SYSCALL,
                                   EF_CREATES_FD | EF_MODIFIES_STATE | EF_OLD_VERSION,
                                   3,
                                   {{"fd", PT_FD, PF_DEC},
                                    {"tuple", PT_SOCKTUPLE, PF_NA},
                                    {"queuepct", PT_UINT8, PF_DEC}}},
        [PPME_SYSCALL_CREAT_E] = {"creat",
                                  EC_FILE | EC_SYSCALL,
                                  EF_CREATES_FD | EF_MODIFIES_STATE,
                                  2,
                                  {{"name", PT_FSPATH, PF_NA}, {"mode", PT_UINT32, PF_OCT}}},
        [PPME_SYSCALL_CREAT_X] = {"creat",
                                  EC_FILE | EC_SYSCALL,
                                  EF_CREATES_FD | EF_MODIFIES_STATE,
                                  6,
                                  {{"fd", PT_FD, PF_DEC},
                                   {"name", PT_FSPATH, PF_NA},
                                   {"mode", PT_UINT32, PF_OCT},
                                   {"dev", PT_UINT32, PF_HEX},
                                   {"ino", PT_UINT64, PF_DEC},
                                   {"creat_flags", PT_FLAGS16, PF_HEX, creat_flags}}},
        [PPME_SYSCALL_PIPE_E] = {"pipe", EC_IPC | EC_SYSCALL, EF_CREATES_FD | EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_PIPE_X] = {"pipe",
                                 EC_IPC | EC_SYSCALL,
                                 EF_CREATES_FD | EF_MODIFIES_STATE,
                                 4,
                                 {{"res", PT_ERRNO, PF_DEC},
                                  {"fd1", PT_FD, PF_DEC},
                                  {"fd2", PT_FD, PF_DEC},
                                  {"ino", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_EVENTFD_E] = {"eventfd",
                                    EC_IPC | EC_SYSCALL,
                                    EF_CREATES_FD | EF_MODIFIES_STATE,
                                    2,
                                    {{"initval", PT_UINT64, PF_DEC}, {"flags", PT_UINT32, PF_HEX}}},
        [PPME_SYSCALL_EVENTFD_X] = {"eventfd",
                                    EC_IPC | EC_SYSCALL,
                                    EF_CREATES_FD | EF_MODIFIES_STATE,
                                    1,
                                    {{"res", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_FUTEX_E] = {"futex",
                                  EC_IPC | EC_SYSCALL,
                                  EF_NONE,
                                  3,
                                  {{"addr", PT_UINT64, PF_HEX},
                                   {"op", PT_FLAGS16, PF_HEX, futex_operations},
                                   {"val", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_FUTEX_X] =
                {"futex", EC_IPC | EC_SYSCALL, EF_NONE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_STAT_E] = {"stat", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_STAT_X] = {"stat",
                                 EC_FILE | EC_SYSCALL,
                                 EF_NONE,
                                 2,
                                 {{"res", PT_ERRNO, PF_DEC}, {"path", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_LSTAT_E] = {"lstat", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_LSTAT_X] = {"lstat",
                                  EC_FILE | EC_SYSCALL,
                                  EF_NONE,
                                  2,
                                  {{"res", PT_ERRNO, PF_DEC}, {"path", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_FSTAT_E] =
                {"fstat", EC_FILE | EC_SYSCALL, EF_USES_FD, 1, {{"fd", PT_FD, PF_NA}}},
        [PPME_SYSCALL_FSTAT_X] =
                {"fstat", EC_FILE | EC_SYSCALL, EF_USES_FD, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_STAT64_E] = {"stat64", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_STAT64_X] = {"stat64",
                                   EC_FILE | EC_SYSCALL,
                                   EF_NONE,
                                   2,
                                   {{"res", PT_ERRNO, PF_DEC}, {"path", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_LSTAT64_E] = {"lstat64", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_LSTAT64_X] = {"lstat64",
                                    EC_FILE | EC_SYSCALL,
                                    EF_NONE,
                                    2,
                                    {{"res", PT_ERRNO, PF_DEC}, {"path", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_FSTAT64_E] =
                {"fstat64", EC_FILE | EC_SYSCALL, EF_USES_FD, 1, {{"fd", PT_FD, PF_NA}}},
        [PPME_SYSCALL_FSTAT64_X] =
                {"fstat64", EC_FILE | EC_SYSCALL, EF_USES_FD, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_EPOLLWAIT_E] = {"epoll_wait",
                                      EC_WAIT | EC_SYSCALL,
                                      EF_WAITS,
                                      1,
                                      {{"maxevents", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_EPOLLWAIT_X] =
                {"epoll_wait", EC_WAIT | EC_SYSCALL, EF_WAITS, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_POLL_E] = {"poll",
                                 EC_WAIT | EC_SYSCALL,
                                 EF_WAITS,
                                 2,
                                 {{"fds", PT_FDLIST, PF_DEC}, {"timeout", PT_INT64, PF_DEC}}},
        [PPME_SYSCALL_POLL_X] = {"poll",
                                 EC_WAIT | EC_SYSCALL,
                                 EF_WAITS,
                                 2,
                                 {{"res", PT_ERRNO, PF_DEC}, {"fds", PT_FDLIST, PF_DEC}}},
        [PPME_SYSCALL_SELECT_E] = {"select", EC_WAIT | EC_SYSCALL, EF_WAITS, 0},
        [PPME_SYSCALL_SELECT_X] =
                {"select", EC_WAIT | EC_SYSCALL, EF_WAITS, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_NEWSELECT_E] = {"select", EC_WAIT | EC_SYSCALL, EF_WAITS | EF_OLD_VERSION, 0},
        [PPME_SYSCALL_NEWSELECT_X] = {"select",
                                      EC_WAIT | EC_SYSCALL,
                                      EF_WAITS | EF_OLD_VERSION,
                                      1,
                                      {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_LSEEK_E] = {"lseek",
                                  EC_FILE | EC_SYSCALL,
                                  EF_USES_FD,
                                  3,
                                  {{"fd", PT_FD, PF_DEC},
                                   {"offset", PT_UINT64, PF_DEC},
                                   {"whence", PT_ENUMFLAGS8, PF_DEC, lseek_whence}}},
        [PPME_SYSCALL_LSEEK_X] =
                {"lseek", EC_FILE | EC_SYSCALL, EF_USES_FD, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_LLSEEK_E] = {"llseek",
                                   EC_FILE | EC_SYSCALL,
                                   EF_USES_FD,
                                   3,
                                   {{"fd", PT_FD, PF_DEC},
                                    {"offset", PT_UINT64, PF_DEC},
                                    {"whence", PT_ENUMFLAGS8, PF_DEC, lseek_whence}}},
        [PPME_SYSCALL_LLSEEK_X] =
                {"llseek", EC_FILE | EC_SYSCALL, EF_USES_FD, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_IOCTL_2_E] = {"ioctl",
                                    EC_IO_OTHER | EC_SYSCALL,
                                    EF_USES_FD | EF_OLD_VERSION,
                                    2,
                                    {{"fd", PT_FD, PF_DEC}, {"request", PT_UINT64, PF_HEX}}},
        [PPME_SYSCALL_IOCTL_2_X] = {"ioctl",
                                    EC_IO_OTHER | EC_SYSCALL,
                                    EF_USES_FD | EF_OLD_VERSION,
                                    1,
                                    {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_GETCWD_E] = {"getcwd", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        /* Note: path is PT_CHARBUF and not PT_FSPATH because we assume it's absolute and will never
           need resolution */
        [PPME_SYSCALL_GETCWD_X] = {"getcwd",
                                   EC_FILE | EC_SYSCALL,
                                   EF_NONE,
                                   2,
                                   {{"res", PT_ERRNO, PF_DEC}, {"path", PT_CHARBUF, PF_NA}}},
        /* Note: path is PT_CHARBUF and not PT_FSPATH because we don't want it to be resolved, since
           the event handler already changes it */
        [PPME_SYSCALL_CHDIR_E] = {"chdir", EC_FILE | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_CHDIR_X] = {"chdir",
                                  EC_FILE | EC_SYSCALL,
                                  EF_MODIFIES_STATE,
                                  2,
                                  {{"res", PT_ERRNO, PF_DEC}, {"path", PT_CHARBUF, PF_NA}}},
        [PPME_SYSCALL_FCHDIR_E] = {"fchdir",
                                   EC_FILE | EC_SYSCALL,
                                   EF_USES_FD | EF_MODIFIES_STATE,
                                   1,
                                   {{"fd", PT_FD, PF_NA}}},
        [PPME_SYSCALL_FCHDIR_X] = {"fchdir",
                                   EC_FILE | EC_SYSCALL,
                                   EF_USES_FD | EF_MODIFIES_STATE,
                                   1,
                                   {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_MKDIR_E] = {"mkdir",
                                  EC_FILE | EC_SYSCALL,
                                  EF_OLD_VERSION,
                                  2,
                                  {{"path", PT_FSPATH, PF_NA}, {"mode", PT_UINT32, PF_HEX}}},
        [PPME_SYSCALL_MKDIR_X] =
                {"mkdir", EC_FILE | EC_SYSCALL, EF_OLD_VERSION, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_RMDIR_E] =
                {"rmdir", EC_FILE | EC_SYSCALL, EF_OLD_VERSION, 1, {{"path", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_RMDIR_X] =
                {"rmdir", EC_FILE | EC_SYSCALL, EF_OLD_VERSION, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_OPENAT_E] = {"openat",
                                   EC_FILE | EC_SYSCALL,
                                   EF_CREATES_FD | EF_MODIFIES_STATE | EF_OLD_VERSION,
                                   4,
                                   {{"dirfd", PT_FD, PF_DEC},
                                    {"name", PT_CHARBUF, PF_NA},
                                    {"flags", PT_FLAGS32, PF_HEX, file_flags},
                                    {"mode", PT_UINT32, PF_OCT}}},
        [PPME_SYSCALL_OPENAT_X] = {"openat",
                                   EC_FILE | EC_SYSCALL,
                                   EF_CREATES_FD | EF_MODIFIES_STATE | EF_OLD_VERSION,
                                   1,
                                   {{"fd", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_LINK_E] = {"link",
                                 EC_FILE | EC_SYSCALL,
                                 EF_OLD_VERSION,
                                 2,
                                 {{"oldpath", PT_FSPATH, PF_NA}, {"newpath", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_LINK_X] =
                {"link", EC_FILE | EC_SYSCALL, EF_OLD_VERSION, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_LINKAT_E] = {"linkat",
                                   EC_FILE | EC_SYSCALL,
                                   EF_OLD_VERSION,
                                   4,
                                   {{"olddir", PT_FD, PF_DEC},
                                    {"oldpath", PT_CHARBUF, PF_NA},
                                    {"newdir", PT_FD, PF_DEC},
                                    {"newpath", PT_CHARBUF, PF_NA}}},
        [PPME_SYSCALL_LINKAT_X] =
                {"linkat", EC_FILE | EC_SYSCALL, EF_OLD_VERSION, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_UNLINK_E] =
                {"unlink", EC_FILE | EC_SYSCALL, EF_OLD_VERSION, 1, {{"path", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_UNLINK_X] =
                {"unlink", EC_FILE | EC_SYSCALL, EF_OLD_VERSION, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_UNLINKAT_E] = {"unlinkat",
                                     EC_FILE | EC_SYSCALL,
                                     EF_OLD_VERSION,
                                     2,
                                     {{"dirfd", PT_FD, PF_DEC}, {"name", PT_CHARBUF, PF_NA}}},
        [PPME_SYSCALL_UNLINKAT_X] =
                {"unlinkat", EC_FILE | EC_SYSCALL, EF_OLD_VERSION, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_PREAD_E] = {"pread",
                                  EC_IO_READ | EC_SYSCALL,
                                  EF_USES_FD | EF_READS_FROM_FD,
                                  3,
                                  {{"fd", PT_FD, PF_DEC},
                                   {"size", PT_UINT32, PF_DEC},
                                   {"pos", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_PREAD_X] = {"pread",
                                  EC_IO_READ | EC_SYSCALL,
                                  EF_USES_FD | EF_READS_FROM_FD,
                                  2,
                                  {{"res", PT_ERRNO, PF_DEC}, {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_PWRITE_E] = {"pwrite",
                                   EC_IO_WRITE | EC_SYSCALL,
                                   EF_USES_FD | EF_WRITES_TO_FD,
                                   3,
                                   {{"fd", PT_FD, PF_DEC},
                                    {"size", PT_UINT32, PF_DEC},
                                    {"pos", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_PWRITE_X] = {"pwrite",
                                   EC_IO_WRITE | EC_SYSCALL,
                                   EF_USES_FD | EF_WRITES_TO_FD,
                                   2,
                                   {{"res", PT_ERRNO, PF_DEC}, {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_READV_E] = {"readv",
                                  EC_IO_READ | EC_SYSCALL,
                                  EF_USES_FD | EF_READS_FROM_FD,
                                  1,
                                  {{"fd", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_READV_X] = {"readv",
                                  EC_IO_READ | EC_SYSCALL,
                                  EF_USES_FD | EF_READS_FROM_FD,
                                  3,
                                  {{"res", PT_ERRNO, PF_DEC},
                                   {"size", PT_UINT32, PF_DEC},
                                   {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_WRITEV_E] = {"writev",
                                   EC_IO_WRITE | EC_SYSCALL,
                                   EF_USES_FD | EF_WRITES_TO_FD,
                                   2,
                                   {{"fd", PT_FD, PF_DEC}, {"size", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_WRITEV_X] = {"writev",
                                   EC_IO_WRITE | EC_SYSCALL,
                                   EF_USES_FD | EF_WRITES_TO_FD,
                                   2,
                                   {{"res", PT_ERRNO, PF_DEC}, {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_PREADV_E] = {"preadv",
                                   EC_IO_READ | EC_SYSCALL,
                                   EF_USES_FD | EF_READS_FROM_FD,
                                   2,
                                   {{"fd", PT_FD, PF_DEC}, {"pos", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_PREADV_X] = {"preadv",
                                   EC_IO_READ | EC_SYSCALL,
                                   EF_USES_FD | EF_READS_FROM_FD,
                                   3,
                                   {{"res", PT_ERRNO, PF_DEC},
                                    {"size", PT_UINT32, PF_DEC},
                                    {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_PWRITEV_E] = {"pwritev",
                                    EC_IO_WRITE | EC_SYSCALL,
                                    EF_USES_FD | EF_WRITES_TO_FD,
                                    3,
                                    {{"fd", PT_FD, PF_DEC},
                                     {"size", PT_UINT32, PF_DEC},
                                     {"pos", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_PWRITEV_X] = {"pwritev",
                                    EC_IO_WRITE | EC_SYSCALL,
                                    EF_USES_FD | EF_WRITES_TO_FD,
                                    2,
                                    {{"res", PT_ERRNO, PF_DEC}, {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_DUP_E] = {"dup",
                                EC_IO_OTHER | EC_SYSCALL,
                                EF_CREATES_FD | EF_USES_FD | EF_MODIFIES_STATE | EF_OLD_VERSION,
                                1,
                                {{"fd", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_DUP_X] = {"dup",
                                EC_IO_OTHER | EC_SYSCALL,
                                EF_CREATES_FD | EF_USES_FD | EF_MODIFIES_STATE | EF_OLD_VERSION,
                                1,
                                {{"res", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_SIGNALFD_E] = {"signalfd",
                                     EC_SIGNAL | EC_SYSCALL,
                                     EF_CREATES_FD | EF_MODIFIES_STATE,
                                     3,
                                     {{"fd", PT_FD, PF_DEC},
                                      {"mask", PT_UINT32, PF_HEX},
                                      {"flags", PT_UINT8, PF_HEX}}},
        [PPME_SYSCALL_SIGNALFD_X] = {"signalfd",
                                     EC_SIGNAL | EC_SYSCALL,
                                     EF_CREATES_FD | EF_MODIFIES_STATE,
                                     1,
                                     {{"res", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_KILL_E] = {"kill",
                                 EC_SIGNAL | EC_SYSCALL,
                                 EF_NONE,
                                 2,
                                 {{"pid", PT_PID, PF_DEC}, {"sig", PT_SIGTYPE, PF_DEC}}},
        [PPME_SYSCALL_KILL_X] =
                {"kill", EC_SIGNAL | EC_SYSCALL, EF_NONE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_TKILL_E] = {"tkill",
                                  EC_SIGNAL | EC_SYSCALL,
                                  EF_NONE,
                                  2,
                                  {{"tid", PT_PID, PF_DEC}, {"sig", PT_SIGTYPE, PF_DEC}}},
        [PPME_SYSCALL_TKILL_X] =
                {"tkill", EC_SIGNAL | EC_SYSCALL, EF_NONE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_TGKILL_E] = {"tgkill",
                                   EC_SIGNAL | EC_SYSCALL,
                                   EF_NONE,
                                   3,
                                   {{"pid", PT_PID, PF_DEC},
                                    {"tid", PT_PID, PF_DEC},
                                    {"sig", PT_SIGTYPE, PF_DEC}}},
        [PPME_SYSCALL_TGKILL_X] =
                {"tgkill", EC_SIGNAL | EC_SYSCALL, EF_NONE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_NANOSLEEP_E] = {"nanosleep",
                                      EC_SLEEP | EC_SYSCALL,
                                      EF_WAITS,
                                      1,
                                      {{"interval", PT_RELTIME, PF_DEC}}},
        [PPME_SYSCALL_NANOSLEEP_X] =
                {"nanosleep", EC_SLEEP | EC_SYSCALL, EF_WAITS, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_TIMERFD_CREATE_E] = {"timerfd_create",
                                           EC_TIME | EC_SYSCALL,
                                           EF_CREATES_FD | EF_MODIFIES_STATE,
                                           2,
                                           {{"clockid", PT_UINT8, PF_DEC},
                                            {"flags", PT_UINT8, PF_HEX}}},
        [PPME_SYSCALL_TIMERFD_CREATE_X] = {"timerfd_create",
                                           EC_TIME | EC_SYSCALL,
                                           EF_CREATES_FD | EF_MODIFIES_STATE,
                                           1,
                                           {{"res", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_INOTIFY_INIT_E] = {"inotify_init",
                                         EC_IPC | EC_SYSCALL,
                                         EF_CREATES_FD | EF_MODIFIES_STATE,
                                         1,
                                         {{"flags", PT_UINT8, PF_HEX}}},
        [PPME_SYSCALL_INOTIFY_INIT_X] = {"inotify_init",
                                         EC_IPC | EC_SYSCALL,
                                         EF_CREATES_FD | EF_MODIFIES_STATE,
                                         1,
                                         {{"res", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_GETRLIMIT_E] = {"getrlimit",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_NONE,
                                      1,
                                      {{"resource", PT_ENUMFLAGS8, PF_DEC, rlimit_resources}}},
        [PPME_SYSCALL_GETRLIMIT_X] = {"getrlimit",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_NONE,
                                      3,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"cur", PT_INT64, PF_DEC},
                                       {"max", PT_INT64, PF_DEC}}},
        [PPME_SYSCALL_SETRLIMIT_E] = {"setrlimit",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_NONE,
                                      1,
                                      {{"resource", PT_ENUMFLAGS8, PF_DEC, rlimit_resources}}},
        [PPME_SYSCALL_SETRLIMIT_X] = {"setrlimit",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_NONE,
                                      4,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"cur", PT_INT64, PF_DEC},
                                       {"max", PT_INT64, PF_DEC},
                                       {"resource", PT_ENUMFLAGS8, PF_DEC, rlimit_resources}}},
        [PPME_SYSCALL_PRLIMIT_E] = {"prlimit",
                                    EC_PROCESS | EC_SYSCALL,
                                    EF_NONE,
                                    2,
                                    {{"pid", PT_PID, PF_DEC},
                                     {"resource", PT_ENUMFLAGS8, PF_DEC, rlimit_resources}}},
        [PPME_SYSCALL_PRLIMIT_X] = {"prlimit",
                                    EC_PROCESS | EC_SYSCALL,
                                    EF_NONE,
                                    7,
                                    {{"res", PT_ERRNO, PF_DEC},
                                     {"newcur", PT_INT64, PF_DEC},
                                     {"newmax", PT_INT64, PF_DEC},
                                     {"oldcur", PT_INT64, PF_DEC},
                                     {"oldmax", PT_INT64, PF_DEC},
                                     {"pid", PT_INT64, PF_DEC},
                                     {"resource", PT_ENUMFLAGS8, PF_DEC, rlimit_resources}}},
        [PPME_SCHEDSWITCH_1_E] = {"switch",
                                  EC_SCHEDULER | EC_TRACEPOINT,
                                  EF_SKIPPARSERESET | EF_OLD_VERSION,
                                  1,
                                  {{"next", PT_PID, PF_DEC}}},
        [PPME_SCHEDSWITCH_1_X] = {"NA",
                                  EC_UNKNOWN,
                                  EF_SKIPPARSERESET | EF_UNUSED | EF_OLD_VERSION,
                                  0},
        [PPME_DROP_E] = {"drop",
                         EC_INTERNAL | EC_METAEVENT,
                         EF_SKIPPARSERESET,
                         1,
                         {{"ratio", PT_UINT32, PF_DEC}}},
        [PPME_DROP_X] = {"drop",
                         EC_INTERNAL | EC_METAEVENT,
                         EF_SKIPPARSERESET,
                         1,
                         {{"ratio", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_FCNTL_E] = {"fcntl",
                                  EC_IO_OTHER | EC_SYSCALL,
                                  EF_USES_FD | EF_MODIFIES_STATE,
                                  2,
                                  {{"fd", PT_FD, PF_DEC},
                                   {"cmd", PT_ENUMFLAGS8, PF_DEC, fcntl_commands}}},
        [PPME_SYSCALL_FCNTL_X] = {"fcntl",
                                  EC_IO_OTHER | EC_SYSCALL,
                                  EF_USES_FD | EF_MODIFIES_STATE,
                                  3,
                                  {{"res", PT_FD, PF_DEC},
                                   {"fd", PT_FD, PF_DEC},
                                   {"cmd", PT_ENUMFLAGS8, PF_DEC, fcntl_commands}}},
        [PPME_SCHEDSWITCH_6_E] =
                {"switch",
                 EC_SCHEDULER | EC_TRACEPOINT,
                 EF_NONE,
                 6,
                 {{"next", PT_PID, PF_DEC},
                  {"pgft_maj", PT_UINT64, PF_DEC},
                  {"pgft_min", PT_UINT64, PF_DEC},
                  {"vm_size", PT_UINT32, PF_DEC},
                  {"vm_rss", PT_UINT32, PF_DEC},
                  {"vm_swap", PT_UINT32, PF_DEC}}},
        [PPME_SCHEDSWITCH_6_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_SYSCALL_EXECVE_13_E] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      0},
        [PPME_SYSCALL_EXECVE_13_X] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      13,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"exe", PT_CHARBUF, PF_NA},
                                       {"args", PT_BYTEBUF, PF_NA},
                                       {"tid", PT_PID, PF_DEC},
                                       {"pid", PT_PID, PF_DEC},
                                       {"ptid", PT_PID, PF_DEC},
                                       {"cwd", PT_CHARBUF, PF_NA},
                                       {"fdlimit", PT_UINT64, PF_DEC},
                                       {"pgft_maj", PT_UINT64, PF_DEC},
                                       {"pgft_min", PT_UINT64, PF_DEC},
                                       {"vm_size", PT_UINT32, PF_DEC},
                                       {"vm_rss", PT_UINT32, PF_DEC},
                                       {"vm_swap", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_CLONE_16_E] = {"clone",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     0},
        [PPME_SYSCALL_CLONE_16_X] = {"clone",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     16,
                                     {{"res", PT_PID, PF_DEC},
                                      {"exe", PT_CHARBUF, PF_NA},
                                      {"args", PT_BYTEBUF, PF_NA},
                                      {"tid", PT_PID, PF_DEC},
                                      {"pid", PT_PID, PF_DEC},
                                      {"ptid", PT_PID, PF_DEC},
                                      {"cwd", PT_CHARBUF, PF_NA},
                                      {"fdlimit", PT_INT64, PF_DEC},
                                      {"pgft_maj", PT_UINT64, PF_DEC},
                                      {"pgft_min", PT_UINT64, PF_DEC},
                                      {"vm_size", PT_UINT32, PF_DEC},
                                      {"vm_rss", PT_UINT32, PF_DEC},
                                      {"vm_swap", PT_UINT32, PF_DEC},
                                      {"flags", PT_FLAGS32, PF_HEX, clone_flags},
                                      {"uid", PT_UINT32, PF_DEC},
                                      {"gid", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_BRK_4_E] =
                {"brk", EC_MEMORY | EC_SYSCALL, EF_NONE, 1, {{"addr", PT_UINT64, PF_HEX}}},
        [PPME_SYSCALL_BRK_4_X] = {"brk",
                                  EC_MEMORY | EC_SYSCALL,
                                  EF_NONE,
                                  4,
                                  {{"res", PT_UINT64, PF_HEX},
                                   {"vm_size", PT_UINT32, PF_DEC},
                                   {"vm_rss", PT_UINT32, PF_DEC},
                                   {"vm_swap", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_MMAP_E] = {"mmap",
                                 EC_MEMORY | EC_SYSCALL,
                                 EF_USES_FD,
                                 6,
                                 {{"addr", PT_UINT64, PF_HEX},
                                  {"length", PT_UINT64, PF_DEC},
                                  {"prot", PT_FLAGS32, PF_HEX, prot_flags},
                                  {"flags", PT_FLAGS32, PF_HEX, mmap_flags},
                                  {"fd", PT_FD, PF_DEC},
                                  {"offset", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_MMAP_X] = {"mmap",
                                 EC_MEMORY | EC_SYSCALL,
                                 EF_NONE,
                                 4,
                                 {{"res", PT_ERRNO, PF_HEX},
                                  {"vm_size", PT_UINT32, PF_DEC},
                                  {"vm_rss", PT_UINT32, PF_DEC},
                                  {"vm_swap", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_MMAP2_E] = {"mmap2",
                                  EC_MEMORY | EC_SYSCALL,
                                  EF_USES_FD,
                                  6,
                                  {{"addr", PT_UINT64, PF_HEX},
                                   {"length", PT_UINT64, PF_DEC},
                                   {"prot", PT_FLAGS32, PF_HEX, prot_flags},
                                   {"flags", PT_FLAGS32, PF_HEX, mmap_flags},
                                   {"fd", PT_FD, PF_DEC},
                                   {"pgoffset", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_MMAP2_X] = {"mmap2",
                                  EC_MEMORY | EC_SYSCALL,
                                  EF_NONE,
                                  4,
                                  {{"res", PT_ERRNO, PF_HEX},
                                   {"vm_size", PT_UINT32, PF_DEC},
                                   {"vm_rss", PT_UINT32, PF_DEC},
                                   {"vm_swap", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_MUNMAP_E] = {"munmap",
                                   EC_MEMORY | EC_SYSCALL,
                                   EF_NONE,
                                   2,
                                   {{"addr", PT_UINT64, PF_HEX}, {"length", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_MUNMAP_X] = {"munmap",
                                   EC_MEMORY | EC_SYSCALL,
                                   EF_NONE,
                                   4,
                                   {{"res", PT_ERRNO, PF_DEC},
                                    {"vm_size", PT_UINT32, PF_DEC},
                                    {"vm_rss", PT_UINT32, PF_DEC},
                                    {"vm_swap", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_SPLICE_E] = {"splice",
                                   EC_IO_OTHER | EC_SYSCALL,
                                   EF_USES_FD,
                                   4,
                                   {{"fd_in", PT_FD, PF_DEC},
                                    {"fd_out", PT_FD, PF_DEC},
                                    {"size", PT_UINT64, PF_DEC},
                                    {"flags", PT_FLAGS32, PF_HEX, splice_flags}}},
        [PPME_SYSCALL_SPLICE_X] =
                {"splice", EC_IO_OTHER | EC_SYSCALL, EF_USES_FD, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_PTRACE_E] = {"ptrace",
                                   EC_PROCESS | EC_SYSCALL,
                                   EF_NONE,
                                   2,
                                   {{"request", PT_ENUMFLAGS16, PF_DEC, ptrace_requests},
                                    {"pid", PT_PID, PF_DEC}}},
        [PPME_SYSCALL_PTRACE_X] =
                {"ptrace",
                 EC_PROCESS | EC_SYSCALL,
                 EF_NONE,
                 3,
                 {{"res", PT_ERRNO, PF_DEC},
                  {"addr", PT_DYN, PF_HEX, ptrace_dynamic_param, PPM_PTRACE_IDX_MAX},
                  {"data", PT_DYN, PF_HEX, ptrace_dynamic_param, PPM_PTRACE_IDX_MAX}}},
        [PPME_SYSCALL_IOCTL_3_E] = {"ioctl",
                                    EC_IO_OTHER | EC_SYSCALL,
                                    EF_USES_FD,
                                    3,
                                    {{"fd", PT_FD, PF_DEC},
                                     {"request", PT_UINT64, PF_HEX},
                                     {"argument", PT_UINT64, PF_HEX}}},
        [PPME_SYSCALL_IOCTL_3_X] =
                {"ioctl", EC_IO_OTHER | EC_SYSCALL, EF_USES_FD, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_EXECVE_14_E] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      0},
        [PPME_SYSCALL_EXECVE_14_X] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      14,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"exe", PT_CHARBUF, PF_NA},
                                       {"args", PT_BYTEBUF, PF_NA},
                                       {"tid", PT_PID, PF_DEC},
                                       {"pid", PT_PID, PF_DEC},
                                       {"ptid", PT_PID, PF_DEC},
                                       {"cwd", PT_CHARBUF, PF_NA},
                                       {"fdlimit", PT_UINT64, PF_DEC},
                                       {"pgft_maj", PT_UINT64, PF_DEC},
                                       {"pgft_min", PT_UINT64, PF_DEC},
                                       {"vm_size", PT_UINT32, PF_DEC},
                                       {"vm_rss", PT_UINT32, PF_DEC},
                                       {"vm_swap", PT_UINT32, PF_DEC},
                                       {"env", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_RENAME_E] = {"rename", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_RENAME_X] = {"rename",
                                   EC_FILE | EC_SYSCALL,
                                   EF_NONE,
                                   3,
                                   {{"res", PT_ERRNO, PF_DEC},
                                    {"oldpath", PT_FSPATH, PF_NA},
                                    {"newpath", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_RENAMEAT_E] = {"renameat", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_RENAMEAT_X] = {"renameat",
                                     EC_FILE | EC_SYSCALL,
                                     EF_NONE,
                                     5,
                                     {{"res", PT_ERRNO, PF_DEC},
                                      {"olddirfd", PT_FD, PF_DEC},
                                      {"oldpath", PT_FSRELPATH, PF_NA, 1},
                                      {"newdirfd", PT_FD, PF_DEC},
                                      {"newpath", PT_FSRELPATH, PF_NA, 3}}},
        [PPME_SYSCALL_SYMLINK_E] = {"symlink", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_SYMLINK_X] = {"symlink",
                                    EC_FILE | EC_SYSCALL,
                                    EF_NONE,
                                    3,
                                    {{"res", PT_ERRNO, PF_DEC},
                                     {"target", PT_CHARBUF, PF_NA},
                                     {"linkpath", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_SYMLINKAT_E] = {"symlinkat", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_SYMLINKAT_X] = {"symlinkat",
                                      EC_FILE | EC_SYSCALL,
                                      EF_NONE,
                                      4,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"target", PT_CHARBUF, PF_NA},
                                       {"linkdirfd", PT_FD, PF_DEC},
                                       {"linkpath", PT_FSRELPATH, PF_NA, 2}}},
        [PPME_SYSCALL_FORK_E] = {"fork",
                                 EC_PROCESS | EC_SYSCALL,
                                 EF_MODIFIES_STATE | EF_OLD_VERSION,
                                 0},
        [PPME_SYSCALL_FORK_X] = {"fork",
                                 EC_PROCESS | EC_SYSCALL,
                                 EF_MODIFIES_STATE | EF_OLD_VERSION,
                                 16,
                                 {{"res", PT_PID, PF_DEC},
                                  {"exe", PT_CHARBUF, PF_NA},
                                  {"args", PT_BYTEBUF, PF_NA},
                                  {"tid", PT_PID, PF_DEC},
                                  {"pid", PT_PID, PF_DEC},
                                  {"ptid", PT_PID, PF_DEC},
                                  {"cwd", PT_CHARBUF, PF_NA},
                                  {"fdlimit", PT_INT64, PF_DEC},
                                  {"pgft_maj", PT_UINT64, PF_DEC},
                                  {"pgft_min", PT_UINT64, PF_DEC},
                                  {"vm_size", PT_UINT32, PF_DEC},
                                  {"vm_rss", PT_UINT32, PF_DEC},
                                  {"vm_swap", PT_UINT32, PF_DEC},
                                  {"flags", PT_FLAGS32, PF_HEX, clone_flags},
                                  {"uid", PT_UINT32, PF_DEC},
                                  {"gid", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_VFORK_E] = {"vfork",
                                  EC_PROCESS | EC_SYSCALL,
                                  EF_MODIFIES_STATE | EF_OLD_VERSION,
                                  0},
        [PPME_SYSCALL_VFORK_X] = {"vfork",
                                  EC_PROCESS | EC_SYSCALL,
                                  EF_MODIFIES_STATE | EF_OLD_VERSION,
                                  16,
                                  {{"res", PT_PID, PF_DEC},
                                   {"exe", PT_CHARBUF, PF_NA},
                                   {"args", PT_BYTEBUF, PF_NA},
                                   {"tid", PT_PID, PF_DEC},
                                   {"pid", PT_PID, PF_DEC},
                                   {"ptid", PT_PID, PF_DEC},
                                   {"cwd", PT_CHARBUF, PF_NA},
                                   {"fdlimit", PT_INT64, PF_DEC},
                                   {"pgft_maj", PT_UINT64, PF_DEC},
                                   {"pgft_min", PT_UINT64, PF_DEC},
                                   {"vm_size", PT_UINT32, PF_DEC},
                                   {"vm_rss", PT_UINT32, PF_DEC},
                                   {"vm_swap", PT_UINT32, PF_DEC},
                                   {"flags", PT_FLAGS32, PF_HEX, clone_flags},
                                   {"uid", PT_UINT32, PF_DEC},
                                   {"gid", PT_UINT32, PF_DEC}}},
        [PPME_PROCEXIT_1_E] = {"procexit",
                               EC_PROCESS | EC_TRACEPOINT,
                               EF_MODIFIES_STATE,
                               5,
                               {{"status", PT_ERRNO, PF_DEC},
                                {"ret", PT_ERRNO, PF_DEC},
                                {"sig", PT_SIGTYPE, PF_DEC},
                                {"core", PT_UINT8, PF_DEC},
                                {"reaper_tid", PT_PID, PF_DEC}}},
        [PPME_PROCEXIT_1_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_SYSCALL_SENDFILE_E] = {"sendfile",
                                     EC_IO_WRITE | EC_SYSCALL,
                                     EF_USES_FD,
                                     4,
                                     {{"out_fd", PT_FD, PF_DEC},
                                      {"in_fd", PT_FD, PF_DEC},
                                      {"offset", PT_UINT64, PF_DEC},
                                      {"size", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_SENDFILE_X] = {"sendfile",
                                     EC_IO_WRITE | EC_SYSCALL,
                                     EF_USES_FD,
                                     2,
                                     {{"res", PT_ERRNO, PF_DEC}, {"offset", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_QUOTACTL_E] = {"quotactl",
                                     EC_USER | EC_SYSCALL,
                                     EF_NONE,
                                     4,
                                     {{"cmd", PT_FLAGS16, PF_DEC, quotactl_cmds},
                                      {"type", PT_FLAGS8, PF_DEC, quotactl_types},
                                      {"id", PT_UINT32, PF_DEC},
                                      {"quota_fmt", PT_FLAGS8, PF_DEC, quotactl_quota_fmts}}},
        [PPME_SYSCALL_QUOTACTL_X] = {"quotactl",
                                     EC_USER | EC_SYSCALL,
                                     EF_NONE,
                                     14,
                                     {{"res", PT_ERRNO, PF_DEC},
                                      {"special", PT_CHARBUF, PF_NA},
                                      {"quotafilepath", PT_CHARBUF, PF_NA},
                                      {"dqb_bhardlimit", PT_UINT64, PF_DEC},
                                      {"dqb_bsoftlimit", PT_UINT64, PF_DEC},
                                      {"dqb_curspace", PT_UINT64, PF_DEC},
                                      {"dqb_ihardlimit", PT_UINT64, PF_DEC},
                                      {"dqb_isoftlimit", PT_UINT64, PF_DEC},
                                      {"dqb_btime", PT_RELTIME, PF_DEC},
                                      {"dqb_itime", PT_RELTIME, PF_DEC},
                                      {"dqi_bgrace", PT_RELTIME, PF_DEC},
                                      {"dqi_igrace", PT_RELTIME, PF_DEC},
                                      {"dqi_flags", PT_FLAGS8, PF_DEC, quotactl_dqi_flags},
                                      {"quota_fmt_out", PT_FLAGS8, PF_DEC, quotactl_quota_fmts}}},
        [PPME_SYSCALL_SETRESUID_E] = {"setresuid",
                                      EC_USER | EC_SYSCALL,
                                      EF_MODIFIES_STATE,
                                      3,
                                      {{"ruid", PT_UID, PF_DEC},
                                       {"euid", PT_UID, PF_DEC},
                                       {"suid", PT_UID, PF_DEC}}},
        [PPME_SYSCALL_SETRESUID_X] = {"setresuid",
                                      EC_USER | EC_SYSCALL,
                                      EF_MODIFIES_STATE,
                                      1,
                                      {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_SETRESGID_E] = {"setresgid",
                                      EC_USER | EC_SYSCALL,
                                      EF_MODIFIES_STATE,
                                      3,
                                      {{"rgid", PT_GID, PF_DEC},
                                       {"egid", PT_GID, PF_DEC},
                                       {"sgid", PT_GID, PF_DEC}}},
        [PPME_SYSCALL_SETRESGID_X] = {"setresgid",
                                      EC_USER | EC_SYSCALL,
                                      EF_MODIFIES_STATE,
                                      1,
                                      {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SCAPEVENT_E] = {"scapevent",
                              EC_INTERNAL | EC_METAEVENT,
                              EF_SKIPPARSERESET,
                              2,
                              {{"event_type", PT_UINT32, PF_DEC},
                               {"event_data", PT_UINT64, PF_DEC}}},
        [PPME_SCAPEVENT_X] = {"scapevent", EC_INTERNAL | EC_METAEVENT, EF_UNUSED, 0},
        [PPME_SYSCALL_SETUID_E] =
                {"setuid", EC_USER | EC_SYSCALL, EF_MODIFIES_STATE, 1, {{"uid", PT_UID, PF_DEC}}},
        [PPME_SYSCALL_SETUID_X] =
                {"setuid", EC_USER | EC_SYSCALL, EF_MODIFIES_STATE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_SETGID_E] =
                {"setgid", EC_USER | EC_SYSCALL, EF_MODIFIES_STATE, 1, {{"gid", PT_GID, PF_DEC}}},
        [PPME_SYSCALL_SETGID_X] =
                {"setgid", EC_USER | EC_SYSCALL, EF_MODIFIES_STATE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_GETUID_E] = {"getuid", EC_USER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_GETUID_X] =
                {"getuid", EC_USER | EC_SYSCALL, EF_NONE, 1, {{"uid", PT_UID, PF_DEC}}},
        [PPME_SYSCALL_GETEUID_E] = {"geteuid", EC_USER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_GETEUID_X] =
                {"geteuid", EC_USER | EC_SYSCALL, EF_NONE, 1, {{"euid", PT_UID, PF_DEC}}},
        [PPME_SYSCALL_GETGID_E] = {"getgid", EC_USER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_GETGID_X] =
                {"getgid", EC_USER | EC_SYSCALL, EF_NONE, 1, {{"gid", PT_GID, PF_DEC}}},
        [PPME_SYSCALL_GETEGID_E] = {"getegid", EC_USER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_GETEGID_X] =
                {"getegid", EC_USER | EC_SYSCALL, EF_NONE, 1, {{"egid", PT_GID, PF_DEC}}},
        [PPME_SYSCALL_GETRESUID_E] = {"getresuid", EC_USER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_GETRESUID_X] = {"getresuid",
                                      EC_USER | EC_SYSCALL,
                                      EF_NONE,
                                      4,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"ruid", PT_UID, PF_DEC},
                                       {"euid", PT_UID, PF_DEC},
                                       {"suid", PT_UID, PF_DEC}}},
        [PPME_SYSCALL_GETRESGID_E] = {"getresgid", EC_USER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_GETRESGID_X] = {"getresgid",
                                      EC_USER | EC_SYSCALL,
                                      EF_NONE,
                                      4,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"rgid", PT_GID, PF_DEC},
                                       {"egid", PT_GID, PF_DEC},
                                       {"sgid", PT_GID, PF_DEC}}},
        [PPME_SYSCALL_EXECVE_15_E] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      0},
        [PPME_SYSCALL_EXECVE_15_X] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      15,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"exe", PT_CHARBUF, PF_NA},
                                       {"args", PT_BYTEBUF, PF_NA},
                                       {"tid", PT_PID, PF_DEC},
                                       {"pid", PT_PID, PF_DEC},
                                       {"ptid", PT_PID, PF_DEC},
                                       {"cwd", PT_CHARBUF, PF_NA},
                                       {"fdlimit", PT_UINT64, PF_DEC},
                                       {"pgft_maj", PT_UINT64, PF_DEC},
                                       {"pgft_min", PT_UINT64, PF_DEC},
                                       {"vm_size", PT_UINT32, PF_DEC},
                                       {"vm_rss", PT_UINT32, PF_DEC},
                                       {"vm_swap", PT_UINT32, PF_DEC},
                                       {"comm", PT_CHARBUF, PF_NA},
                                       {"env", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_CLONE_17_E] = {"clone",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     0},
        [PPME_SYSCALL_CLONE_17_X] = {"clone",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     17,
                                     {{"res", PT_PID, PF_DEC},
                                      {"exe", PT_CHARBUF, PF_NA},
                                      {"args", PT_BYTEBUF, PF_NA},
                                      {"tid", PT_PID, PF_DEC},
                                      {"pid", PT_PID, PF_DEC},
                                      {"ptid", PT_PID, PF_DEC},
                                      {"cwd", PT_CHARBUF, PF_NA},
                                      {"fdlimit", PT_INT64, PF_DEC},
                                      {"pgft_maj", PT_UINT64, PF_DEC},
                                      {"pgft_min", PT_UINT64, PF_DEC},
                                      {"vm_size", PT_UINT32, PF_DEC},
                                      {"vm_rss", PT_UINT32, PF_DEC},
                                      {"vm_swap", PT_UINT32, PF_DEC},
                                      {"comm", PT_CHARBUF, PF_NA},
                                      {"flags", PT_FLAGS32, PF_HEX, clone_flags},
                                      {"uid", PT_UINT32, PF_DEC},
                                      {"gid", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_FORK_17_E] = {"fork",
                                    EC_PROCESS | EC_SYSCALL,
                                    EF_MODIFIES_STATE | EF_OLD_VERSION,
                                    0},
        [PPME_SYSCALL_FORK_17_X] = {"fork",
                                    EC_PROCESS | EC_SYSCALL,
                                    EF_MODIFIES_STATE | EF_OLD_VERSION,
                                    17,
                                    {{"res", PT_PID, PF_DEC},
                                     {"exe", PT_CHARBUF, PF_NA},
                                     {"args", PT_BYTEBUF, PF_NA},
                                     {"tid", PT_PID, PF_DEC},
                                     {"pid", PT_PID, PF_DEC},
                                     {"ptid", PT_PID, PF_DEC},
                                     {"cwd", PT_CHARBUF, PF_NA},
                                     {"fdlimit", PT_INT64, PF_DEC},
                                     {"pgft_maj", PT_UINT64, PF_DEC},
                                     {"pgft_min", PT_UINT64, PF_DEC},
                                     {"vm_size", PT_UINT32, PF_DEC},
                                     {"vm_rss", PT_UINT32, PF_DEC},
                                     {"vm_swap", PT_UINT32, PF_DEC},
                                     {"comm", PT_CHARBUF, PF_NA},
                                     {"flags", PT_FLAGS32, PF_HEX, clone_flags},
                                     {"uid", PT_UINT32, PF_DEC},
                                     {"gid", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_VFORK_17_E] = {"vfork",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     0},
        [PPME_SYSCALL_VFORK_17_X] = {"vfork",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     17,
                                     {{"res", PT_PID, PF_DEC},
                                      {"exe", PT_CHARBUF, PF_NA},
                                      {"args", PT_BYTEBUF, PF_NA},
                                      {"tid", PT_PID, PF_DEC},
                                      {"pid", PT_PID, PF_DEC},
                                      {"ptid", PT_PID, PF_DEC},
                                      {"cwd", PT_CHARBUF, PF_NA},
                                      {"fdlimit", PT_INT64, PF_DEC},
                                      {"pgft_maj", PT_UINT64, PF_DEC},
                                      {"pgft_min", PT_UINT64, PF_DEC},
                                      {"vm_size", PT_UINT32, PF_DEC},
                                      {"vm_rss", PT_UINT32, PF_DEC},
                                      {"vm_swap", PT_UINT32, PF_DEC},
                                      {"comm", PT_CHARBUF, PF_NA},
                                      {"flags", PT_FLAGS32, PF_HEX, clone_flags},
                                      {"uid", PT_UINT32, PF_DEC},
                                      {"gid", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_CLONE_20_E] = {"clone", EC_PROCESS | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_CLONE_20_X] = {"clone",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE,
                                     21,
                                     {{"res", PT_PID, PF_DEC},
                                      {"exe", PT_CHARBUF, PF_NA},
                                      {"args", PT_BYTEBUF, PF_NA},
                                      {"tid", PT_PID, PF_DEC},
                                      {"pid", PT_PID, PF_DEC},
                                      {"ptid", PT_PID, PF_DEC},
                                      {"cwd", PT_CHARBUF, PF_NA},
                                      {"fdlimit", PT_INT64, PF_DEC},
                                      {"pgft_maj", PT_UINT64, PF_DEC},
                                      {"pgft_min", PT_UINT64, PF_DEC},
                                      {"vm_size", PT_UINT32, PF_DEC},
                                      {"vm_rss", PT_UINT32, PF_DEC},
                                      {"vm_swap", PT_UINT32, PF_DEC},
                                      {"comm", PT_CHARBUF, PF_NA},
                                      {"cgroups", PT_BYTEBUF, PF_NA},
                                      {"flags", PT_FLAGS32, PF_HEX, clone_flags},
                                      {"uid", PT_UINT32, PF_DEC},
                                      {"gid", PT_UINT32, PF_DEC},
                                      {"vtid", PT_PID, PF_DEC},
                                      {"vpid", PT_PID, PF_DEC},
                                      {"pidns_init_start_ts", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_FORK_20_E] = {"fork", EC_PROCESS | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_FORK_20_X] = {"fork",
                                    EC_PROCESS | EC_SYSCALL,
                                    EF_MODIFIES_STATE,
                                    21,
                                    {{"res", PT_PID, PF_DEC},
                                     {"exe", PT_CHARBUF, PF_NA},
                                     {"args", PT_BYTEBUF, PF_NA},
                                     {"tid", PT_PID, PF_DEC},
                                     {"pid", PT_PID, PF_DEC},
                                     {"ptid", PT_PID, PF_DEC},
                                     {"cwd", PT_CHARBUF, PF_NA},
                                     {"fdlimit", PT_INT64, PF_DEC},
                                     {"pgft_maj", PT_UINT64, PF_DEC},
                                     {"pgft_min", PT_UINT64, PF_DEC},
                                     {"vm_size", PT_UINT32, PF_DEC},
                                     {"vm_rss", PT_UINT32, PF_DEC},
                                     {"vm_swap", PT_UINT32, PF_DEC},
                                     {"comm", PT_CHARBUF, PF_NA},
                                     {"cgroups", PT_BYTEBUF, PF_NA},
                                     {"flags", PT_FLAGS32, PF_HEX, clone_flags},
                                     {"uid", PT_UINT32, PF_DEC},
                                     {"gid", PT_UINT32, PF_DEC},
                                     {"vtid", PT_PID, PF_DEC},
                                     {"vpid", PT_PID, PF_DEC},
                                     {"pidns_init_start_ts", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_VFORK_20_E] = {"vfork", EC_PROCESS | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_VFORK_20_X] = {"vfork",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE,
                                     21,
                                     {{"res", PT_PID, PF_DEC},
                                      {"exe", PT_CHARBUF, PF_NA},
                                      {"args", PT_BYTEBUF, PF_NA},
                                      {"tid", PT_PID, PF_DEC},
                                      {"pid", PT_PID, PF_DEC},
                                      {"ptid", PT_PID, PF_DEC},
                                      {"cwd", PT_CHARBUF, PF_NA},
                                      {"fdlimit", PT_INT64, PF_DEC},
                                      {"pgft_maj", PT_UINT64, PF_DEC},
                                      {"pgft_min", PT_UINT64, PF_DEC},
                                      {"vm_size", PT_UINT32, PF_DEC},
                                      {"vm_rss", PT_UINT32, PF_DEC},
                                      {"vm_swap", PT_UINT32, PF_DEC},
                                      {"comm", PT_CHARBUF, PF_NA},
                                      {"cgroups", PT_BYTEBUF, PF_NA},
                                      {"flags", PT_FLAGS32, PF_HEX, clone_flags},
                                      {"uid", PT_UINT32, PF_DEC},
                                      {"gid", PT_UINT32, PF_DEC},
                                      {"vtid", PT_PID, PF_DEC},
                                      {"vpid", PT_PID, PF_DEC},
                                      {"pidns_init_start_ts", PT_UINT64, PF_DEC}}},
        [PPME_CONTAINER_E] = {"container",
                              EC_INTERNAL | EC_METAEVENT,
                              EF_SKIPPARSERESET | EF_MODIFIES_STATE | EF_OLD_VERSION,
                              4,
                              {{"id", PT_CHARBUF, PF_NA},
                               {"type", PT_UINT32, PF_DEC},
                               {"name", PT_CHARBUF, PF_NA},
                               {"image", PT_CHARBUF, PF_NA}}},
        [PPME_CONTAINER_X] = {"NA", EC_UNKNOWN, EF_UNUSED | EF_OLD_VERSION, 0},
        [PPME_SYSCALL_EXECVE_16_E] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      0},
        [PPME_SYSCALL_EXECVE_16_X] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      16,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"exe", PT_CHARBUF, PF_NA},
                                       {"args", PT_BYTEBUF, PF_NA},
                                       {"tid", PT_PID, PF_DEC},
                                       {"pid", PT_PID, PF_DEC},
                                       {"ptid", PT_PID, PF_DEC},
                                       {"cwd", PT_CHARBUF, PF_NA},
                                       {"fdlimit", PT_UINT64, PF_DEC},
                                       {"pgft_maj", PT_UINT64, PF_DEC},
                                       {"pgft_min", PT_UINT64, PF_DEC},
                                       {"vm_size", PT_UINT32, PF_DEC},
                                       {"vm_rss", PT_UINT32, PF_DEC},
                                       {"vm_swap", PT_UINT32, PF_DEC},
                                       {"comm", PT_CHARBUF, PF_NA},
                                       {"cgroups", PT_BYTEBUF, PF_NA},
                                       {"env", PT_BYTEBUF, PF_NA}}},
        [PPME_SIGNALDELIVER_E] = {"signaldeliver",
                                  EC_SIGNAL | EC_TRACEPOINT,
                                  EF_NONE,
                                  3,
                                  {{"spid", PT_PID, PF_DEC},
                                   {"dpid", PT_PID, PF_DEC},
                                   {"sig", PT_SIGTYPE, PF_DEC}}},
        [PPME_SIGNALDELIVER_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_PROCINFO_E] = {"procinfo",
                             EC_INTERNAL | EC_METAEVENT,
                             EF_SKIPPARSERESET,
                             2,
                             {{"cpu_usr", PT_UINT64, PF_DEC}, {"cpu_sys", PT_UINT64, PF_DEC}}},
        [PPME_PROCINFO_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_SYSCALL_GETDENTS_E] =
                {"getdents", EC_FILE | EC_SYSCALL, EF_USES_FD, 1, {{"fd", PT_FD, PF_NA}}},
        [PPME_SYSCALL_GETDENTS_X] =
                {"getdents", EC_FILE | EC_SYSCALL, EF_USES_FD, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_GETDENTS64_E] =
                {"getdents64", EC_FILE | EC_SYSCALL, EF_USES_FD, 1, {{"fd", PT_FD, PF_NA}}},
        [PPME_SYSCALL_GETDENTS64_X] =
                {"getdents64", EC_FILE | EC_SYSCALL, EF_USES_FD, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_SETNS_E] = {"setns",
                                  EC_PROCESS | EC_SYSCALL,
                                  EF_USES_FD,
                                  2,
                                  {{"fd", PT_FD, PF_NA},
                                   {"nstype", PT_FLAGS32, PF_HEX, clone_flags}}},
        [PPME_SYSCALL_SETNS_X] =
                {"setns", EC_PROCESS | EC_SYSCALL, EF_USES_FD, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_FLOCK_E] = {"flock",
                                  EC_FILE | EC_SYSCALL,
                                  EF_USES_FD,
                                  2,
                                  {{"fd", PT_FD, PF_NA},
                                   {"operation", PT_FLAGS32, PF_HEX, flock_flags}}},
        [PPME_SYSCALL_FLOCK_X] =
                {"flock", EC_FILE | EC_SYSCALL, EF_USES_FD, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_CPU_HOTPLUG_E] = {"cpu_hotplug",
                                EC_SYSTEM | EC_METAEVENT,
                                EF_SKIPPARSERESET | EF_MODIFIES_STATE,
                                2,
                                {{"cpu", PT_UINT32, PF_DEC}, {"action", PT_UINT32, PF_DEC}}},
        [PPME_CPU_HOTPLUG_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_SOCKET_ACCEPT_5_E] = {"accept",
                                    EC_NET | EC_SYSCALL,
                                    EF_CREATES_FD | EF_MODIFIES_STATE,
                                    0},
        [PPME_SOCKET_ACCEPT_5_X] = {"accept",
                                    EC_NET | EC_SYSCALL,
                                    EF_CREATES_FD | EF_MODIFIES_STATE,
                                    5,
                                    {{"fd", PT_FD, PF_DEC},
                                     {"tuple", PT_SOCKTUPLE, PF_NA},
                                     {"queuepct", PT_UINT8, PF_DEC},
                                     {"queuelen", PT_UINT32, PF_DEC},
                                     {"queuemax", PT_UINT32, PF_DEC}}},
        [PPME_SOCKET_ACCEPT4_5_E] = {"accept",
                                     EC_NET | EC_SYSCALL,
                                     EF_CREATES_FD | EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     1,
                                     {{"flags", PT_INT32, PF_HEX}}},
        [PPME_SOCKET_ACCEPT4_5_X] = {"accept",
                                     EC_NET | EC_SYSCALL,
                                     EF_CREATES_FD | EF_MODIFIES_STATE | EF_OLD_VERSION,
                                     5,
                                     {{"fd", PT_FD, PF_DEC},
                                      {"tuple", PT_SOCKTUPLE, PF_NA},
                                      {"queuepct", PT_UINT8, PF_DEC},
                                      {"queuelen", PT_UINT32, PF_DEC},
                                      {"queuemax", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_SEMOP_E] =
                {"semop", EC_PROCESS | EC_SYSCALL, EF_NONE, 1, {{"semid", PT_INT32, PF_DEC}}},
        [PPME_SYSCALL_SEMOP_X] = {"semop",
                                  EC_PROCESS | EC_SYSCALL,
                                  EF_NONE,
                                  8,
                                  {{"res", PT_ERRNO, PF_DEC},
                                   {"nsops", PT_UINT32, PF_DEC},
                                   {"sem_num_0", PT_UINT16, PF_DEC},
                                   {"sem_op_0", PT_INT16, PF_DEC},
                                   {"sem_flg_0", PT_FLAGS16, PF_HEX, semop_flags},
                                   {"sem_num_1", PT_UINT16, PF_DEC},
                                   {"sem_op_1", PT_INT16, PF_DEC},
                                   {"sem_flg_1", PT_FLAGS16, PF_HEX, semop_flags}}},
        [PPME_SYSCALL_SEMCTL_E] = {"semctl",
                                   EC_PROCESS | EC_SYSCALL,
                                   EF_NONE,
                                   4,
                                   {{"semid", PT_INT32, PF_DEC},
                                    {"semnum", PT_INT32, PF_DEC},
                                    {"cmd", PT_FLAGS16, PF_HEX, semctl_commands},
                                    {"val", PT_INT32, PF_DEC}}},
        [PPME_SYSCALL_SEMCTL_X] =
                {"semctl", EC_PROCESS | EC_SYSCALL, EF_NONE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_PPOLL_E] = {"ppoll",
                                  EC_WAIT | EC_SYSCALL,
                                  EF_WAITS,
                                  3,
                                  {{"fds", PT_FDLIST, PF_DEC},
                                   {"timeout", PT_RELTIME, PF_DEC},
                                   {"sigmask", PT_SIGSET, PF_DEC}}},
        [PPME_SYSCALL_PPOLL_X] = {"ppoll",
                                  EC_WAIT | EC_SYSCALL,
                                  EF_WAITS,
                                  2,
                                  {{"res", PT_ERRNO, PF_DEC}, {"fds", PT_FDLIST, PF_DEC}}},
        [PPME_SYSCALL_MOUNT_E] = {"mount",
                                  EC_FILE | EC_SYSCALL,
                                  EF_MODIFIES_STATE,
                                  1,
                                  {{"flags", PT_FLAGS32, PF_HEX, mount_flags}}},
        [PPME_SYSCALL_MOUNT_X] = {"mount",
                                  EC_FILE | EC_SYSCALL,
                                  EF_MODIFIES_STATE,
                                  4,
                                  {{"res", PT_ERRNO, PF_DEC},
                                   {"dev", PT_CHARBUF, PF_NA},
                                   {"dir", PT_FSPATH, PF_NA},
                                   {"type", PT_CHARBUF, PF_NA}}},
        [PPME_SYSCALL_UMOUNT_E] = {"umount",
                                   EC_FILE | EC_SYSCALL,
                                   EF_MODIFIES_STATE | EF_OLD_VERSION,
                                   1,
                                   {{"flags", PT_FLAGS32, PF_HEX, umount_flags}}},
        [PPME_SYSCALL_UMOUNT_X] = {"umount",
                                   EC_FILE | EC_SYSCALL,
                                   EF_MODIFIES_STATE | EF_OLD_VERSION,
                                   2,
                                   {{"res", PT_ERRNO, PF_DEC}, {"name", PT_FSPATH, PF_NA}}},
        [PPME_K8S_E] = {"k8s",
                        EC_INTERNAL | EC_METAEVENT,
                        EF_SKIPPARSERESET | EF_MODIFIES_STATE,
                        1,
                        {{"json", PT_CHARBUF, PF_NA}}},
        [PPME_K8S_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_SYSCALL_SEMGET_E] = {"semget",
                                   EC_PROCESS | EC_SYSCALL,
                                   EF_NONE,
                                   3,
                                   {{"key", PT_INT32, PF_HEX},
                                    {"nsems", PT_INT32, PF_DEC},
                                    {"semflg", PT_FLAGS32, PF_HEX, semget_flags}}},
        [PPME_SYSCALL_SEMGET_X] =
                {"semget", EC_PROCESS | EC_SYSCALL, EF_NONE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_ACCESS_E] = {"access",
                                   EC_FILE | EC_SYSCALL,
                                   EF_NONE,
                                   1,
                                   {{"mode", PT_FLAGS32, PF_HEX, access_flags}}},
        [PPME_SYSCALL_ACCESS_X] = {"access",
                                   EC_FILE | EC_SYSCALL,
                                   EF_NONE,
                                   2,
                                   {{"res", PT_ERRNO, PF_DEC}, {"name", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_CHROOT_E] = {"chroot", EC_PROCESS | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_CHROOT_X] = {"chroot",
                                   EC_PROCESS | EC_SYSCALL,
                                   EF_MODIFIES_STATE,
                                   2,
                                   {{"res", PT_ERRNO, PF_DEC}, {"path", PT_FSPATH, PF_NA}}},
        [PPME_TRACER_E] = {"tracer",
                           EC_OTHER | EC_METAEVENT,
                           EF_NONE,
                           3,
                           {{"id", PT_INT64, PF_DEC},
                            {"tags", PT_CHARBUFARRAY, PF_NA},
                            {"args", PT_CHARBUF_PAIR_ARRAY, PF_NA}}},
        [PPME_TRACER_X] = {"tracer",
                           EC_OTHER | EC_METAEVENT,
                           EF_NONE,
                           3,
                           {{"id", PT_INT64, PF_DEC},
                            {"tags", PT_CHARBUFARRAY, PF_NA},
                            {"args", PT_CHARBUF_PAIR_ARRAY, PF_NA}}},
        [PPME_MESOS_E] = {"mesos",
                          EC_INTERNAL | EC_METAEVENT,
                          EF_SKIPPARSERESET | EF_MODIFIES_STATE,
                          1,
                          {{"json", PT_CHARBUF, PF_NA}}},
        [PPME_MESOS_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_CONTAINER_JSON_E] =
                {"container",
                 EC_PROCESS | EC_METAEVENT,
                 EF_MODIFIES_STATE | EF_OLD_VERSION,
                 1,
                 {{"json", PT_CHARBUF, PF_NA}}},
        [PPME_CONTAINER_JSON_X] = {"NA", EC_UNKNOWN, EF_UNUSED | EF_OLD_VERSION, 0},
        [PPME_SYSCALL_SETSID_E] = {"setsid", EC_PROCESS | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_SETSID_X] = {"setsid",
                                   EC_PROCESS | EC_SYSCALL,
                                   EF_MODIFIES_STATE,
                                   1,
                                   {{"res", PT_PID, PF_DEC}}},
        [PPME_SYSCALL_MKDIR_2_E] =
                {"mkdir", EC_FILE | EC_SYSCALL, EF_NONE, 1, {{"mode", PT_UINT32, PF_HEX}}},
        [PPME_SYSCALL_MKDIR_2_X] = {"mkdir",
                                    EC_FILE | EC_SYSCALL,
                                    EF_NONE,
                                    2,
                                    {{"res", PT_ERRNO, PF_DEC}, {"path", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_RMDIR_2_E] = {"rmdir", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_RMDIR_2_X] = {"rmdir",
                                    EC_FILE | EC_SYSCALL,
                                    EF_NONE,
                                    2,
                                    {{"res", PT_ERRNO, PF_DEC}, {"path", PT_FSPATH, PF_NA}}},
        [PPME_NOTIFICATION_E] = {"notification",
                                 EC_OTHER | EC_METAEVENT,
                                 EF_SKIPPARSERESET,
                                 2,
                                 {
                                         {"id", PT_CHARBUF, PF_DEC},
                                         {"desc", PT_CHARBUF, PF_NA},
                                 }},
        [PPME_NOTIFICATION_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_SYSCALL_EXECVE_17_E] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      0},
        [PPME_SYSCALL_EXECVE_17_X] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      17,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"exe", PT_CHARBUF, PF_NA},
                                       {"args", PT_BYTEBUF, PF_NA},
                                       {"tid", PT_PID, PF_DEC},
                                       {"pid", PT_PID, PF_DEC},
                                       {"ptid", PT_PID, PF_DEC},
                                       {"cwd", PT_CHARBUF, PF_NA},
                                       {"fdlimit", PT_UINT64, PF_DEC},
                                       {"pgft_maj", PT_UINT64, PF_DEC},
                                       {"pgft_min", PT_UINT64, PF_DEC},
                                       {"vm_size", PT_UINT32, PF_DEC},
                                       {"vm_rss", PT_UINT32, PF_DEC},
                                       {"vm_swap", PT_UINT32, PF_DEC},
                                       {"comm", PT_CHARBUF, PF_NA},
                                       {"cgroups", PT_BYTEBUF, PF_NA},
                                       {"env", PT_BYTEBUF, PF_NA},
                                       {"tty", PT_INT32, PF_DEC}}},
        [PPME_SYSCALL_UNSHARE_E] = {"unshare",
                                    EC_PROCESS | EC_SYSCALL,
                                    EF_NONE,
                                    1,
                                    {{"flags", PT_FLAGS32, PF_HEX, clone_flags}}},
        [PPME_SYSCALL_UNSHARE_X] =
                {"unshare", EC_PROCESS | EC_SYSCALL, EF_NONE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_INFRASTRUCTURE_EVENT_E] = {"infra",
                                         EC_INTERNAL | EC_METAEVENT,
                                         EF_SKIPPARSERESET,
                                         4,
                                         {{"source", PT_CHARBUF, PF_DEC},
                                          {"name", PT_CHARBUF, PF_NA},
                                          {"description", PT_CHARBUF, PF_NA},
                                          {"scope", PT_CHARBUF, PF_NA}}},
        [PPME_INFRASTRUCTURE_EVENT_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_SYSCALL_EXECVE_18_E] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      1,
                                      {{"filename", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_EXECVE_18_X] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE | EF_OLD_VERSION,
                                      17,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"exe", PT_CHARBUF, PF_NA},
                                       {"args", PT_BYTEBUF, PF_NA},
                                       {"tid", PT_PID, PF_DEC},
                                       {"pid", PT_PID, PF_DEC},
                                       {"ptid", PT_PID, PF_DEC},
                                       {"cwd", PT_CHARBUF, PF_NA},
                                       {"fdlimit", PT_UINT64, PF_DEC},
                                       {"pgft_maj", PT_UINT64, PF_DEC},
                                       {"pgft_min", PT_UINT64, PF_DEC},
                                       {"vm_size", PT_UINT32, PF_DEC},
                                       {"vm_rss", PT_UINT32, PF_DEC},
                                       {"vm_swap", PT_UINT32, PF_DEC},
                                       {"comm", PT_CHARBUF, PF_NA},
                                       {"cgroups", PT_BYTEBUF, PF_NA},
                                       {"env", PT_BYTEBUF, PF_NA},
                                       {"tty", PT_INT32, PF_DEC}}},
        [PPME_PAGE_FAULT_E] = {"page_fault",
                               EC_OTHER | EC_TRACEPOINT,
                               EF_SKIPPARSERESET,
                               3,
                               {{"addr", PT_UINT64, PF_HEX},
                                {"ip", PT_UINT64, PF_HEX},
                                {"error", PT_FLAGS32, PF_HEX, pf_flags}}},
        [PPME_PAGE_FAULT_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_SYSCALL_EXECVE_19_E] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE,
                                      1,
                                      {{"filename", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_EXECVE_19_X] = {"execve",
                                      EC_PROCESS | EC_SYSCALL,
                                      EF_MODIFIES_STATE,
                                      29,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"exe", PT_CHARBUF, PF_NA},
                                       {"args", PT_BYTEBUF, PF_NA},
                                       {"tid", PT_PID, PF_DEC},
                                       {"pid", PT_PID, PF_DEC},
                                       {"ptid", PT_PID, PF_DEC},
                                       {"cwd", PT_CHARBUF, PF_NA},
                                       {"fdlimit", PT_UINT64, PF_DEC},
                                       {"pgft_maj", PT_UINT64, PF_DEC},
                                       {"pgft_min", PT_UINT64, PF_DEC},
                                       {"vm_size", PT_UINT32, PF_DEC},
                                       {"vm_rss", PT_UINT32, PF_DEC},
                                       {"vm_swap", PT_UINT32, PF_DEC},
                                       {"comm", PT_CHARBUF, PF_NA},
                                       {"cgroups", PT_BYTEBUF, PF_NA},
                                       {"env", PT_BYTEBUF, PF_NA},
                                       {"tty", PT_UINT32, PF_DEC},
                                       {"vpgid", PT_PID, PF_DEC},
                                       {"loginuid", PT_UID, PF_DEC},
                                       {"flags", PT_FLAGS32, PF_HEX, execve_flags},
                                       {"cap_inheritable", PT_UINT64, PF_HEX},
                                       {"cap_permitted", PT_UINT64, PF_HEX},
                                       {"cap_effective", PT_UINT64, PF_HEX},
                                       {"exe_ino", PT_UINT64, PF_DEC},
                                       {"exe_ino_ctime", PT_ABSTIME, PF_DEC},
                                       {"exe_ino_mtime", PT_ABSTIME, PF_DEC},
                                       {"uid", PT_UID, PF_DEC},
                                       {"trusted_exepath", PT_FSPATH, PF_NA},
                                       {"pgid", PT_PID, PF_NA}}},
        [PPME_SYSCALL_SETPGID_E] = {"setpgid",
                                    EC_PROCESS | EC_SYSCALL,
                                    EF_MODIFIES_STATE,
                                    2,
                                    {{"pid", PT_PID, PF_DEC}, {"pgid", PT_PID, PF_DEC}}},
        [PPME_SYSCALL_SETPGID_X] = {"setpgid",
                                    EC_PROCESS | EC_SYSCALL,
                                    EF_MODIFIES_STATE,
                                    1,
                                    {{"res", PT_PID, PF_DEC}}},
        [PPME_SYSCALL_BPF_E] = {"bpf",
                                EC_OTHER | EC_SYSCALL,
                                EF_CREATES_FD | EF_OLD_VERSION,
                                1,
                                {{"cmd", PT_INT64, PF_DEC}}},
        [PPME_SYSCALL_BPF_X] =
                {"bpf",
                 EC_OTHER | EC_SYSCALL,
                 EF_CREATES_FD | EF_OLD_VERSION,
                 1,
                 {{"res_or_fd", PT_DYN, PF_DEC, bpf_dynamic_param, PPM_BPF_IDX_MAX}}},
        [PPME_SYSCALL_SECCOMP_E] = {"seccomp",
                                    EC_OTHER | EC_SYSCALL,
                                    EF_NONE,
                                    2,
                                    {{"op", PT_UINT64, PF_DEC}, {"flags", PT_UINT64, PF_HEX}}},
        [PPME_SYSCALL_SECCOMP_X] =
                {"seccomp", EC_OTHER | EC_SYSCALL, EF_NONE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_UNLINK_2_E] = {"unlink", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_UNLINK_2_X] = {"unlink",
                                     EC_FILE | EC_SYSCALL,
                                     EF_NONE,
                                     2,
                                     {{"res", PT_ERRNO, PF_DEC}, {"path", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_UNLINKAT_2_E] = {"unlinkat", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_UNLINKAT_2_X] = {"unlinkat",
                                       EC_FILE | EC_SYSCALL,
                                       EF_NONE,
                                       4,
                                       {{"res", PT_ERRNO, PF_DEC},
                                        {"dirfd", PT_FD, PF_DEC},
                                        {"name", PT_FSRELPATH, PF_NA, 1},
                                        {"flags", PT_FLAGS32, PF_HEX, unlinkat_flags}}},
        [PPME_SYSCALL_MKDIRAT_E] = {"mkdirat", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_MKDIRAT_X] = {"mkdirat",
                                    EC_FILE | EC_SYSCALL,
                                    EF_NONE,
                                    4,
                                    {{"res", PT_ERRNO, PF_DEC},
                                     {"dirfd", PT_FD, PF_DEC},
                                     {"path", PT_FSRELPATH, PF_NA, 1},
                                     {"mode", PT_UINT32, PF_HEX}}},
        [PPME_SYSCALL_OPENAT_2_E] = {"openat",
                                     EC_FILE | EC_SYSCALL,
                                     EF_CREATES_FD | EF_MODIFIES_STATE,
                                     4,
                                     {{"dirfd", PT_FD, PF_DEC},
                                      {"name", PT_FSRELPATH, PF_NA, 0},
                                      {"flags", PT_FLAGS32, PF_HEX, file_flags},
                                      {"mode", PT_UINT32, PF_OCT}}},
        [PPME_SYSCALL_OPENAT_2_X] = {"openat",
                                     EC_FILE | EC_SYSCALL,
                                     EF_CREATES_FD | EF_MODIFIES_STATE,
                                     7,
                                     {{"fd", PT_FD, PF_DEC},
                                      {"dirfd", PT_FD, PF_DEC},
                                      {"name", PT_FSRELPATH, PF_NA, 1},
                                      {"flags", PT_FLAGS32, PF_HEX, file_flags},
                                      {"mode", PT_UINT32, PF_OCT},
                                      {"dev", PT_UINT32, PF_HEX},
                                      {"ino", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_LINK_2_E] = {"link", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_LINK_2_X] = {"link",
                                   EC_FILE | EC_SYSCALL,
                                   EF_NONE,
                                   3,
                                   {{"res", PT_ERRNO, PF_DEC},
                                    {"oldpath", PT_FSPATH, PF_NA},
                                    {"newpath", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_LINKAT_2_E] = {"linkat", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_LINKAT_2_X] = {"linkat",
                                     EC_FILE | EC_SYSCALL,
                                     EF_NONE,
                                     6,
                                     {{"res", PT_ERRNO, PF_DEC},
                                      {"olddir", PT_FD, PF_DEC},
                                      {"oldpath", PT_FSRELPATH, PF_NA, 1},
                                      {"newdir", PT_FD, PF_DEC},
                                      {"newpath", PT_FSRELPATH, PF_NA, 3},
                                      {"flags", PT_FLAGS32, PF_HEX, linkat_flags}}},
        [PPME_SYSCALL_FCHMODAT_E] = {"fchmodat", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_FCHMODAT_X] = {"fchmodat",
                                     EC_FILE | EC_SYSCALL,
                                     EF_NONE,
                                     4,
                                     {{"res", PT_ERRNO, PF_DEC},
                                      {"dirfd", PT_FD, PF_DEC},
                                      {"filename", PT_FSRELPATH, PF_NA, 1},
                                      {"mode", PT_MODE, PF_OCT, chmod_mode}}},
        [PPME_SYSCALL_CHMOD_E] = {"chmod", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_CHMOD_X] = {"chmod",
                                  EC_FILE | EC_SYSCALL,
                                  EF_NONE,
                                  3,
                                  {{"res", PT_ERRNO, PF_DEC},
                                   {"filename", PT_FSPATH, PF_NA},
                                   {"mode", PT_MODE, PF_OCT, chmod_mode}}},
        [PPME_SYSCALL_FCHMOD_E] = {"fchmod", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_FCHMOD_X] = {"fchmod",
                                   EC_FILE | EC_SYSCALL,
                                   EF_USES_FD,
                                   3,
                                   {{"res", PT_ERRNO, PF_DEC},
                                    {"fd", PT_FD, PF_DEC},
                                    {"mode", PT_MODE, PF_OCT, chmod_mode}}},
        [PPME_SYSCALL_RENAMEAT2_E] = {"renameat2", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_RENAMEAT2_X] = {"renameat2",
                                      EC_FILE | EC_SYSCALL,
                                      EF_NONE,
                                      6,
                                      {{"res", PT_ERRNO, PF_DEC},
                                       {"olddirfd", PT_FD, PF_DEC},
                                       {"oldpath", PT_FSRELPATH, PF_NA, 1},
                                       {"newdirfd", PT_FD, PF_DEC},
                                       {"newpath", PT_FSRELPATH, PF_NA, 3},
                                       {"flags", PT_FLAGS32, PF_HEX, renameat2_flags}}},
        [PPME_SYSCALL_USERFAULTFD_E] = {"userfaultfd",
                                        EC_FILE | EC_SYSCALL,
                                        EF_CREATES_FD | EF_MODIFIES_STATE,
                                        0},
        [PPME_SYSCALL_USERFAULTFD_X] = {"userfaultfd",
                                        EC_FILE | EC_SYSCALL,
                                        EF_CREATES_FD | EF_MODIFIES_STATE,
                                        2,
                                        {{"res", PT_ERRNO, PF_DEC},
                                         {"flags", PT_FLAGS32, PF_HEX, file_flags}}},
        [PPME_PLUGINEVENT_E] = {"pluginevent",
                                EC_OTHER | EC_PLUGIN,
                                EF_LARGE_PAYLOAD,
                                2,
                                {{"plugin_id", PT_UINT32, PF_DEC},
                                 {"event_data", PT_BYTEBUF, PF_NA}}},
        [PPME_PLUGINEVENT_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_CONTAINER_JSON_2_E] =
                {"container",
                 EC_PROCESS | EC_METAEVENT,
                 EF_MODIFIES_STATE | EF_LARGE_PAYLOAD,
                 1,
                 {{"json", PT_CHARBUF, PF_NA}}},
        [PPME_CONTAINER_JSON_2_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_SYSCALL_OPENAT2_E] = {"openat2",
                                    EC_FILE | EC_SYSCALL,
                                    EF_CREATES_FD | EF_MODIFIES_STATE,
                                    5,
                                    {{"dirfd", PT_FD, PF_DEC},
                                     {"name", PT_FSRELPATH, PF_NA, 0},
                                     {"flags", PT_FLAGS32, PF_HEX, file_flags},
                                     {"mode", PT_UINT32, PF_OCT},
                                     {"resolve", PT_FLAGS32, PF_HEX, openat2_flags}}},
        [PPME_SYSCALL_OPENAT2_X] = {"openat2",
                                    EC_FILE | EC_SYSCALL,
                                    EF_CREATES_FD | EF_MODIFIES_STATE,
                                    8,
                                    {{"fd", PT_FD, PF_DEC},
                                     {"dirfd", PT_FD, PF_DEC},
                                     {"name", PT_FSRELPATH, PF_NA, 1},
                                     {"flags", PT_FLAGS32, PF_HEX, file_flags},
                                     {"mode", PT_UINT32, PF_OCT},
                                     {"resolve", PT_FLAGS32, PF_HEX, openat2_flags},
                                     {"dev", PT_UINT32, PF_HEX},
                                     {"ino", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_MPROTECT_E] = {"mprotect",
                                     EC_MEMORY | EC_SYSCALL,
                                     EF_NONE,
                                     3,
                                     {{"addr", PT_UINT64, PF_HEX},
                                      {"length", PT_UINT64, PF_DEC},
                                      {"prot", PT_FLAGS32, PF_HEX, prot_flags}}},
        [PPME_SYSCALL_MPROTECT_X] =
                {"mprotect", EC_MEMORY | EC_SYSCALL, EF_NONE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_EXECVEAT_E] = {"execveat",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE,
                                     3,
                                     {{"dirfd", PT_FD, PF_DEC},
                                      {"pathname", PT_FSRELPATH, PF_NA, 0},
                                      {"flags", PT_FLAGS32, PF_HEX, execveat_flags}}},
        [PPME_SYSCALL_EXECVEAT_X] = {"execveat",
                                     EC_PROCESS | EC_SYSCALL,
                                     EF_MODIFIES_STATE,
                                     29,
                                     {{"res", PT_ERRNO, PF_DEC},
                                      {"exe", PT_CHARBUF, PF_NA},
                                      {"args", PT_BYTEBUF, PF_NA},
                                      {"tid", PT_PID, PF_DEC},
                                      {"pid", PT_PID, PF_DEC},
                                      {"ptid", PT_PID, PF_DEC},
                                      {"cwd", PT_CHARBUF, PF_NA},
                                      {"fdlimit", PT_UINT64, PF_DEC},
                                      {"pgft_maj", PT_UINT64, PF_DEC},
                                      {"pgft_min", PT_UINT64, PF_DEC},
                                      {"vm_size", PT_UINT32, PF_DEC},
                                      {"vm_rss", PT_UINT32, PF_DEC},
                                      {"vm_swap", PT_UINT32, PF_DEC},
                                      {"comm", PT_CHARBUF, PF_NA},
                                      {"cgroups", PT_BYTEBUF, PF_NA},
                                      {"env", PT_BYTEBUF, PF_NA},
                                      {"tty", PT_UINT32, PF_DEC},
                                      {"vpgid", PT_PID, PF_DEC},
                                      {"loginuid", PT_UID, PF_DEC},
                                      {"flags", PT_FLAGS32, PF_HEX, execve_flags},
                                      {"cap_inheritable", PT_UINT64, PF_HEX},
                                      {"cap_permitted", PT_UINT64, PF_HEX},
                                      {"cap_effective", PT_UINT64, PF_HEX},
                                      {"exe_ino", PT_UINT64, PF_DEC},
                                      {"exe_ino_ctime", PT_ABSTIME, PF_DEC},
                                      {"exe_ino_mtime", PT_ABSTIME, PF_DEC},
                                      {"uid", PT_UID, PF_DEC},
                                      {"trusted_exepath", PT_FSPATH, PF_NA},
                                      {"pgid", PT_PID, PF_NA}}},
        [PPME_SYSCALL_COPY_FILE_RANGE_E] = {"copy_file_range",
                                            EC_FILE | EC_SYSCALL,
                                            EF_USES_FD | EF_READS_FROM_FD | EF_WRITES_TO_FD,
                                            3,
                                            {{"fdin", PT_FD, PF_DEC},
                                             {"offin", PT_UINT64, PF_DEC},
                                             {"len", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_COPY_FILE_RANGE_X] = {"copy_file_range",
                                            EC_FILE | EC_SYSCALL,
                                            EF_USES_FD | EF_READS_FROM_FD | EF_WRITES_TO_FD,
                                            3,
                                            {{"res", PT_ERRNO, PF_DEC},
                                             {"fdout", PT_FD, PF_DEC},
                                             {"offout", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_CLONE3_E] = {"clone3", EC_PROCESS | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_CLONE3_X] = {"clone3",
                                   EC_PROCESS | EC_SYSCALL,
                                   EF_MODIFIES_STATE,
                                   21,
                                   {{"res", PT_PID, PF_DEC},
                                    {"exe", PT_CHARBUF, PF_NA},
                                    {"args", PT_BYTEBUF, PF_NA},
                                    {"tid", PT_PID, PF_DEC},
                                    {"pid", PT_PID, PF_DEC},
                                    {"ptid", PT_PID, PF_DEC},
                                    {"cwd", PT_CHARBUF, PF_NA},
                                    {"fdlimit", PT_INT64, PF_DEC},
                                    {"pgft_maj", PT_UINT64, PF_DEC},
                                    {"pgft_min", PT_UINT64, PF_DEC},
                                    {"vm_size", PT_UINT32, PF_DEC},
                                    {"vm_rss", PT_UINT32, PF_DEC},
                                    {"vm_swap", PT_UINT32, PF_DEC},
                                    {"comm", PT_CHARBUF, PF_NA},
                                    {"cgroups", PT_BYTEBUF, PF_NA},
                                    {"flags", PT_FLAGS32, PF_HEX, clone_flags},
                                    {"uid", PT_UINT32, PF_DEC},
                                    {"gid", PT_UINT32, PF_DEC},
                                    {"vtid", PT_PID, PF_DEC},
                                    {"vpid", PT_PID, PF_DEC},
                                    {"pidns_init_start_ts", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_OPEN_BY_HANDLE_AT_E] = {"open_by_handle_at",
                                              EC_FILE | EC_SYSCALL,
                                              EF_CREATES_FD | EF_MODIFIES_STATE,
                                              0},
        [PPME_SYSCALL_OPEN_BY_HANDLE_AT_X] = {"open_by_handle_at",
                                              EC_FILE | EC_SYSCALL,
                                              EF_CREATES_FD | EF_MODIFIES_STATE,
                                              6,
                                              {{"fd", PT_FD, PF_DEC},
                                               {"mountfd", PT_FD, PF_DEC},
                                               {"flags", PT_FLAGS32, PF_HEX, file_flags},
                                               {"path", PT_FSPATH, PF_NA},
                                               {"dev", PT_UINT32, PF_HEX},
                                               {"ino", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_IO_URING_SETUP_E] = {"io_uring_setup",
                                           EC_IO_OTHER | EC_SYSCALL,
                                           EF_CREATES_FD | EF_MODIFIES_STATE,
                                           0},
        [PPME_SYSCALL_IO_URING_SETUP_X] =
                {"io_uring_setup",
                 EC_IO_OTHER | EC_SYSCALL,
                 EF_CREATES_FD | EF_MODIFIES_STATE,
                 8,
                 {{"res", PT_ERRNO, PF_DEC},
                  {"entries", PT_UINT32, PF_DEC},
                  {"sq_entries", PT_UINT32, PF_DEC},
                  {"cq_entries", PT_UINT32, PF_DEC},
                  {"flags", PT_FLAGS32, PF_HEX, io_uring_setup_flags},
                  {"sq_thread_cpu", PT_UINT32, PF_DEC},
                  {"sq_thread_idle", PT_UINT32, PF_DEC},
                  {"features", PT_FLAGS32, PF_HEX, io_uring_setup_feats}}},
        [PPME_SYSCALL_IO_URING_ENTER_E] = {"io_uring_enter", EC_IO_OTHER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_IO_URING_ENTER_X] = {"io_uring_enter",
                                           EC_IO_OTHER | EC_SYSCALL,
                                           EF_USES_FD,
                                           6,
                                           {{"res", PT_ERRNO, PF_DEC},
                                            {"fd", PT_FD, PF_DEC},
                                            {"to_submit", PT_UINT32, PF_DEC},
                                            {"min_complete", PT_UINT32, PF_DEC},
                                            {"flags", PT_FLAGS32, PF_HEX, io_uring_enter_flags},
                                            {"sig", PT_SIGSET, PF_DEC}}},
        [PPME_SYSCALL_IO_URING_REGISTER_E] = {"io_uring_register",
                                              EC_IO_OTHER | EC_SYSCALL,
                                              EF_NONE,
                                              0},
        [PPME_SYSCALL_IO_URING_REGISTER_X] =
                {"io_uring_register",
                 EC_IO_OTHER | EC_SYSCALL,
                 EF_USES_FD,
                 5,
                 {{"res", PT_ERRNO, PF_DEC},
                  {"fd", PT_FD, PF_DEC},
                  {"opcode", PT_ENUMFLAGS16, PF_DEC, io_uring_register_opcodes},
                  {"arg", PT_UINT64, PF_HEX},
                  {"nr_args", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_MLOCK_E] = {"mlock", EC_MEMORY | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_MLOCK_X] = {"mlock",
                                  EC_MEMORY | EC_SYSCALL,
                                  EF_NONE,
                                  3,
                                  {{"res", PT_ERRNO, PF_DEC},
                                   {"addr", PT_UINT64, PF_HEX},
                                   {"len", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_MUNLOCK_E] = {"munlock", EC_MEMORY | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_MUNLOCK_X] = {"munlock",
                                    EC_MEMORY | EC_SYSCALL,
                                    EF_NONE,
                                    3,
                                    {{"res", PT_ERRNO, PF_DEC},
                                     {"addr", PT_UINT64, PF_HEX},
                                     {"len", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_MLOCKALL_E] = {"mlockall", EC_MEMORY | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_MLOCKALL_X] = {"mlockall",
                                     EC_MEMORY | EC_SYSCALL,
                                     EF_NONE,
                                     2,
                                     {{"res", PT_ERRNO, PF_DEC},
                                      {"flags", PT_FLAGS32, PF_HEX, mlockall_flags}}},
        [PPME_SYSCALL_MUNLOCKALL_E] = {"munlockall", EC_MEMORY | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_MUNLOCKALL_X] =
                {"munlockall", EC_MEMORY | EC_SYSCALL, EF_NONE, 1, {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_CAPSET_E] = {"capset", EC_PROCESS | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_CAPSET_X] = {"capset",
                                   EC_PROCESS | EC_SYSCALL,
                                   EF_MODIFIES_STATE,
                                   4,
                                   {{"res", PT_ERRNO, PF_DEC},
                                    {"cap_inheritable", PT_UINT64, PF_HEX},
                                    {"cap_permitted", PT_UINT64, PF_HEX},
                                    {"cap_effective", PT_UINT64, PF_HEX}}},
        [PPME_USER_ADDED_E] = {"useradded",
                               EC_PROCESS | EC_METAEVENT,
                               EF_MODIFIES_STATE,
                               6,
                               {{"uid", PT_UINT32, PF_DEC},
                                {"gid", PT_UINT32, PF_DEC},
                                {"name", PT_CHARBUF, PF_NA},
                                {"home", PT_CHARBUF, PF_NA},
                                {"shell", PT_CHARBUF, PF_NA},
                                {"container_id", PT_CHARBUF, PF_NA}}},
        [PPME_USER_ADDED_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_USER_DELETED_E] = {"userdeleted",
                                 EC_PROCESS | EC_METAEVENT,
                                 EF_MODIFIES_STATE,
                                 6,
                                 {{"uid", PT_UINT32, PF_DEC},
                                  {"gid", PT_UINT32, PF_DEC},
                                  {"name", PT_CHARBUF, PF_NA},
                                  {"home", PT_CHARBUF, PF_NA},
                                  {"shell", PT_CHARBUF, PF_NA},
                                  {"container_id", PT_CHARBUF, PF_NA}}},
        [PPME_USER_DELETED_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_GROUP_ADDED_E] = {"groupadded",
                                EC_PROCESS | EC_METAEVENT,
                                EF_MODIFIES_STATE,
                                3,
                                {{"gid", PT_UINT32, PF_DEC},
                                 {"name", PT_CHARBUF, PF_NA},
                                 {"container_id", PT_CHARBUF, PF_NA}}},
        [PPME_GROUP_ADDED_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_GROUP_DELETED_E] = {"groupdeleted",
                                  EC_PROCESS | EC_METAEVENT,
                                  EF_MODIFIES_STATE,
                                  3,
                                  {{"gid", PT_UINT32, PF_DEC},
                                   {"name", PT_CHARBUF, PF_NA},
                                   {"container_id", PT_CHARBUF, PF_NA}}},
        [PPME_GROUP_DELETED_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_SYSCALL_DUP2_E] = {"dup2",
                                 EC_IO_OTHER | EC_SYSCALL,
                                 EF_CREATES_FD | EF_USES_FD | EF_MODIFIES_STATE,
                                 1,
                                 {{"fd", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_DUP2_X] = {"dup2",
                                 EC_IO_OTHER | EC_SYSCALL,
                                 EF_CREATES_FD | EF_USES_FD | EF_MODIFIES_STATE,
                                 3,
                                 {{"res", PT_FD, PF_DEC},
                                  {"oldfd", PT_FD, PF_DEC},
                                  {"newfd", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_DUP3_E] = {"dup3",
                                 EC_IO_OTHER | EC_SYSCALL,
                                 EF_CREATES_FD | EF_USES_FD | EF_MODIFIES_STATE,
                                 1,
                                 {{"fd", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_DUP3_X] = {"dup3",
                                 EC_IO_OTHER | EC_SYSCALL,
                                 EF_CREATES_FD | EF_USES_FD | EF_MODIFIES_STATE,
                                 4,
                                 {{"res", PT_FD, PF_DEC},
                                  {"oldfd", PT_FD, PF_DEC},
                                  {"newfd", PT_FD, PF_DEC},
                                  {"flags", PT_FLAGS32, PF_HEX, file_flags}}},
        [PPME_SYSCALL_DUP_1_E] = {"dup",
                                  EC_IO_OTHER | EC_SYSCALL,
                                  EF_CREATES_FD | EF_USES_FD | EF_MODIFIES_STATE,
                                  1,
                                  {{"fd", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_DUP_1_X] = {"dup",
                                  EC_IO_OTHER | EC_SYSCALL,
                                  EF_CREATES_FD | EF_USES_FD | EF_MODIFIES_STATE,
                                  2,
                                  {{"res", PT_FD, PF_DEC}, {"oldfd", PT_FD, PF_DEC}}},
        [PPME_SYSCALL_BPF_2_E] =
                {"bpf", EC_OTHER | EC_SYSCALL, EF_CREATES_FD, 1, {{"cmd", PT_INT64, PF_DEC}}},
        [PPME_SYSCALL_BPF_2_X] = {"bpf",
                                  EC_OTHER | EC_SYSCALL,
                                  EF_CREATES_FD,
                                  2,
                                  {{"fd", PT_FD, PF_DEC},
                                   {"cmd", PT_ENUMFLAGS32, PF_DEC, bpf_commands}}},
        [PPME_SYSCALL_MLOCK2_E] = {"mlock2", EC_MEMORY | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_MLOCK2_X] = {"mlock2",
                                   EC_MEMORY | EC_SYSCALL,
                                   EF_NONE,
                                   4,
                                   {{"res", PT_ERRNO, PF_DEC},
                                    {"addr", PT_UINT64, PF_HEX},
                                    {"len", PT_UINT64, PF_DEC},
                                    {"flags", PT_FLAGS32, PF_HEX, mlock2_flags}}},
        [PPME_SYSCALL_FSCONFIG_E] = {"fsconfig", EC_SYSTEM | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_FSCONFIG_X] = {"fsconfig",
                                     EC_SYSTEM | EC_SYSCALL,
                                     EF_USES_FD,
                                     7,
                                     {{"res", PT_ERRNO, PF_DEC},
                                      {"fd", PT_FD, PF_DEC},
                                      {"cmd", PT_ENUMFLAGS32, PF_DEC, fsconfig_cmds},
                                      {"key", PT_CHARBUF, PF_NA},
                                      {"value_bytebuf", PT_BYTEBUF, PF_NA},
                                      {"value_charbuf", PT_CHARBUF, PF_NA},
                                      {"aux", PT_INT32, PF_DEC}}},
        [PPME_SYSCALL_EPOLL_CREATE_E] = {"epoll_create",
                                         EC_WAIT | EC_SYSCALL,
                                         EF_CREATES_FD | EF_MODIFIES_STATE,
                                         1,
                                         {{"size", PT_INT32, PF_DEC}}},
        [PPME_SYSCALL_EPOLL_CREATE_X] = {"epoll_create",
                                         EC_WAIT | EC_SYSCALL,
                                         EF_CREATES_FD | EF_MODIFIES_STATE,
                                         1,
                                         {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_EPOLL_CREATE1_E] = {"epoll_create1",
                                          EC_WAIT | EC_SYSCALL,
                                          EF_CREATES_FD | EF_MODIFIES_STATE,
                                          1,
                                          {{"flags", PT_FLAGS32, PF_HEX, epoll_create1_flags}}},
        [PPME_SYSCALL_EPOLL_CREATE1_X] = {"epoll_create1",
                                          EC_WAIT | EC_SYSCALL,
                                          EF_CREATES_FD | EF_MODIFIES_STATE,
                                          1,
                                          {{"res", PT_ERRNO, PF_DEC}}},
        [PPME_SYSCALL_CHOWN_E] = {"chown", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_CHOWN_X] = {"chown",
                                  EC_FILE | EC_SYSCALL,
                                  EF_NONE,
                                  4,
                                  {{"res", PT_ERRNO, PF_DEC},
                                   {"path", PT_FSPATH, PF_NA},
                                   {"uid", PT_UINT32, PF_DEC},
                                   {"gid", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_LCHOWN_E] = {"lchown", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_LCHOWN_X] = {"lchown",
                                   EC_FILE | EC_SYSCALL,
                                   EF_NONE,
                                   4,
                                   {{"res", PT_ERRNO, PF_DEC},
                                    {"path", PT_FSPATH, PF_NA},
                                    {"uid", PT_UINT32, PF_DEC},
                                    {"gid", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_FCHOWN_E] = {"fchown", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_FCHOWN_X] = {"fchown",
                                   EC_FILE | EC_SYSCALL,
                                   EF_USES_FD,
                                   4,
                                   {{"res", PT_ERRNO, PF_DEC},
                                    {"fd", PT_FD, PF_DEC},
                                    {"uid", PT_UINT32, PF_DEC},
                                    {"gid", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_FCHOWNAT_E] = {"fchownat", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_FCHOWNAT_X] = {"fchownat",
                                     EC_FILE | EC_SYSCALL,
                                     EF_NONE,
                                     6,
                                     {{"res", PT_ERRNO, PF_DEC},
                                      {"dirfd", PT_FD, PF_DEC},
                                      {"pathname", PT_FSRELPATH, PF_NA, 1},
                                      {"uid", PT_UINT32, PF_DEC},
                                      {"gid", PT_UINT32, PF_DEC},
                                      {"flags", PT_FLAGS32, PF_HEX, fchownat_flags}}},
        [PPME_SYSCALL_UMOUNT_1_E] = {"umount", EC_FILE | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_UMOUNT_1_X] = {"umount",
                                     EC_FILE | EC_SYSCALL,
                                     EF_MODIFIES_STATE,
                                     2,
                                     {{"res", PT_ERRNO, PF_DEC}, {"name", PT_FSPATH, PF_NA}}},
        [PPME_SOCKET_ACCEPT4_6_E] = {"accept4",
                                     EC_NET | EC_SYSCALL,
                                     EF_CREATES_FD | EF_MODIFIES_STATE,
                                     1,
                                     {{"flags", PT_INT32, PF_HEX}}},
        [PPME_SOCKET_ACCEPT4_6_X] = {"accept4",
                                     EC_NET | EC_SYSCALL,
                                     EF_CREATES_FD | EF_MODIFIES_STATE,
                                     5,
                                     {{"fd", PT_FD, PF_DEC},
                                      {"tuple", PT_SOCKTUPLE, PF_NA},
                                      {"queuepct", PT_UINT8, PF_DEC},
                                      {"queuelen", PT_UINT32, PF_DEC},
                                      {"queuemax", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_UMOUNT2_E] = {"umount2",
                                    EC_FILE | EC_SYSCALL,
                                    EF_MODIFIES_STATE,
                                    1,
                                    {{"flags", PT_FLAGS32, PF_HEX, umount_flags}}},
        [PPME_SYSCALL_UMOUNT2_X] = {"umount2",
                                    EC_FILE | EC_SYSCALL,
                                    EF_MODIFIES_STATE,
                                    2,
                                    {{"res", PT_ERRNO, PF_DEC}, {"name", PT_FSPATH, PF_NA}}},
        [PPME_SYSCALL_PIPE2_E] = {"pipe2",
                                  EC_IPC | EC_SYSCALL,
                                  EF_CREATES_FD | EF_MODIFIES_STATE,
                                  0},
        [PPME_SYSCALL_PIPE2_X] = {"pipe2",
                                  EC_IPC | EC_SYSCALL,
                                  EF_CREATES_FD | EF_MODIFIES_STATE,
                                  5,
                                  {{"res", PT_ERRNO, PF_DEC},
                                   {"fd1", PT_FD, PF_DEC},
                                   {"fd2", PT_FD, PF_DEC},
                                   {"ino", PT_UINT64, PF_DEC},
                                   {"flags", PT_FLAGS32, PF_HEX, file_flags}}},
        [PPME_SYSCALL_INOTIFY_INIT1_E] = {"inotify_init1",
                                          EC_IPC | EC_SYSCALL,
                                          EF_CREATES_FD | EF_MODIFIES_STATE,
                                          0},
        [PPME_SYSCALL_INOTIFY_INIT1_X] = {"inotify_init1",
                                          EC_IPC | EC_SYSCALL,
                                          EF_CREATES_FD | EF_MODIFIES_STATE,
                                          2,
                                          {{"res", PT_FD, PF_DEC},
                                           {"flags", PT_FLAGS16, PF_HEX, file_flags}}},
        [PPME_SYSCALL_EVENTFD2_E] = {"eventfd2",
                                     EC_IPC | EC_SYSCALL,
                                     EF_CREATES_FD | EF_MODIFIES_STATE,
                                     1,
                                     {{"initval", PT_UINT64, PF_DEC}}},
        [PPME_SYSCALL_EVENTFD2_X] = {"eventfd2",
                                     EC_IPC | EC_SYSCALL,
                                     EF_CREATES_FD | EF_MODIFIES_STATE,
                                     2,
                                     {{"res", PT_FD, PF_DEC},
                                      {"flags", PT_FLAGS16, PF_HEX, file_flags}}},
        [PPME_SYSCALL_SIGNALFD4_E] = {"signalfd4",
                                      EC_SIGNAL | EC_SYSCALL,
                                      EF_CREATES_FD | EF_MODIFIES_STATE,
                                      2,
                                      {{"fd", PT_FD, PF_DEC}, {"mask", PT_UINT32, PF_HEX}}},
        [PPME_SYSCALL_SIGNALFD4_X] = {"signalfd4",
                                      EC_SIGNAL | EC_SYSCALL,
                                      EF_CREATES_FD | EF_MODIFIES_STATE,
                                      2,
                                      {{"res", PT_FD, PF_DEC},
                                       {"flags", PT_FLAGS16, PF_HEX, file_flags}}},
        [PPME_SYSCALL_PRCTL_E] = {"prctl", EC_PROCESS | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_PRCTL_X] = {"prctl",
                                  EC_PROCESS | EC_SYSCALL,
                                  EF_MODIFIES_STATE,
                                  4,
                                  {{"res", PT_ERRNO, PF_DEC},
                                   {"option", PT_ENUMFLAGS32, PF_DEC, prctl_options},
                                   {"arg2_str", PT_CHARBUF, PF_NA},
                                   {"arg2_int", PT_INT64, PF_DEC}}},
        [PPME_ASYNCEVENT_E] = {"asyncevent",
                               EC_OTHER | EC_METAEVENT,
                               EF_LARGE_PAYLOAD,
                               3,
                               {{"plugin_id", PT_UINT32, PF_DEC},
                                {"name", PT_CHARBUF, PF_NA},
                                {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_ASYNCEVENT_X] = {"NA", EC_UNKNOWN, EF_UNUSED, 0},
        [PPME_SYSCALL_MEMFD_CREATE_E] = {"memfd_create",
                                         EC_MEMORY | EC_SYSCALL,
                                         EF_CREATES_FD | EF_MODIFIES_STATE,
                                         0},
        [PPME_SYSCALL_MEMFD_CREATE_X] = {"memfd_create",
                                         EC_MEMORY | EC_SYSCALL,
                                         EF_CREATES_FD | EF_MODIFIES_STATE,
                                         3,
                                         {{"fd", PT_FD, PF_DEC},
                                          {"name", PT_CHARBUF, PF_NA},
                                          {"flags", PT_FLAGS32, PF_HEX, memfd_create_flags}}},
        [PPME_SYSCALL_PIDFD_GETFD_E] = {"pidfd_getfd",
                                        EC_PROCESS | EC_SYSCALL,
                                        EF_CREATES_FD | EF_MODIFIES_STATE,
                                        0},
        [PPME_SYSCALL_PIDFD_GETFD_X] = {"pidfd_getfd",
                                        EC_PROCESS | EC_SYSCALL,
                                        EF_CREATES_FD | EF_MODIFIES_STATE,
                                        4,
                                        {{"fd", PT_FD, PF_DEC},
                                         {"pid_fd", PT_FD, PF_DEC},
                                         {"target_fd", PT_FD, PF_DEC},
                                         {"flags", PT_UINT32, PF_HEX}}},
        [PPME_SYSCALL_PIDFD_OPEN_E] = {"pidfd_open",
                                       EC_PROCESS | EC_SYSCALL,
                                       EF_CREATES_FD | EF_MODIFIES_STATE,
                                       0},
        [PPME_SYSCALL_PIDFD_OPEN_X] = {"pidfd_open",
                                       EC_PROCESS | EC_SYSCALL,
                                       EF_CREATES_FD | EF_MODIFIES_STATE,
                                       3,
                                       {{"fd", PT_FD, PF_DEC},
                                        {"pid", PT_PID, PF_DEC},
                                        {"flags", PT_FLAGS32, PF_HEX, pidfd_open_flags}}},
        [PPME_SYSCALL_INIT_MODULE_E] = {"init_module", EC_OTHER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_INIT_MODULE_X] = {"init_module",
                                        EC_OTHER | EC_SYSCALL,
                                        EF_NONE,
                                        4,
                                        {{"res", PT_ERRNO, PF_DEC},
                                         {"img", PT_BYTEBUF, PF_NA},
                                         {"length", PT_UINT64, PF_DEC},
                                         {"uargs", PT_CHARBUF, PF_NA}}},
        [PPME_SYSCALL_FINIT_MODULE_E] = {"finit_module", EC_OTHER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_FINIT_MODULE_X] = {"finit_module",
                                         EC_OTHER | EC_SYSCALL,
                                         EF_USES_FD | EF_READS_FROM_FD,
                                         4,
                                         {{"res", PT_ERRNO, PF_DEC},
                                          {"fd", PT_FD, PF_DEC},
                                          {"uargs", PT_CHARBUF, PF_NA},
                                          {"flags", PT_FLAGS32, PF_HEX, finit_module_flags}}},
        [PPME_SYSCALL_MKNOD_E] = {"mknod", EC_OTHER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_MKNOD_X] = {"mknod",
                                  EC_OTHER | EC_SYSCALL,
                                  EF_NONE,
                                  4,
                                  {{"res", PT_ERRNO, PF_DEC},
                                   {"path", PT_FSPATH, PF_NA},
                                   {"mode", PT_MODE, PF_OCT, mknod_mode},
                                   {"dev", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_MKNODAT_E] = {"mknodat", EC_OTHER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_MKNODAT_X] = {"mknodat",
                                    EC_OTHER | EC_SYSCALL,
                                    EF_USES_FD,
                                    5,
                                    {{"res", PT_ERRNO, PF_DEC},
                                     {"dirfd", PT_FD, PF_DEC},
                                     {"path", PT_FSRELPATH, PF_NA, 1},
                                     {"mode", PT_MODE, PF_OCT, mknod_mode},
                                     {"dev", PT_UINT32, PF_DEC}}},
        [PPME_SYSCALL_NEWFSTATAT_E] = {"newfstatat", EC_FILE | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_NEWFSTATAT_X] = {"newfstatat",
                                       EC_FILE | EC_SYSCALL,
                                       EF_USES_FD,
                                       4,
                                       {{"res", PT_ERRNO, PF_DEC},
                                        {"dirfd", PT_FD, PF_DEC},
                                        {"path", PT_FSRELPATH, PF_NA, 1},
                                        {"flags", PT_FLAGS32, PF_HEX, newfstatat_flags}}},
        [PPME_SYSCALL_PROCESS_VM_READV_E] = {"process_vm_readv", EC_SYSCALL | EC_IPC, EF_NONE, 0},
        [PPME_SYSCALL_PROCESS_VM_READV_X] = {"process_vm_readv",
                                             EC_SYSCALL | EC_IPC,
                                             EF_NONE,
                                             3,
                                             {{"res", PT_INT64, PF_DEC},
                                              {"pid", PT_PID, PF_DEC},
                                              {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_PROCESS_VM_WRITEV_E] = {"process_vm_writev", EC_SYSCALL | EC_IPC, EF_NONE, 0},
        [PPME_SYSCALL_PROCESS_VM_WRITEV_X] = {"process_vm_writev",
                                              EC_SYSCALL | EC_IPC,
                                              EF_NONE,
                                              3,
                                              {{"res", PT_INT64, PF_DEC},
                                               {"pid", PT_PID, PF_DEC},
                                               {"data", PT_BYTEBUF, PF_NA}}},
        [PPME_SYSCALL_DELETE_MODULE_E] = {"delete_module", EC_OTHER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_DELETE_MODULE_X] = {"delete_module",
                                          EC_OTHER | EC_SYSCALL,
                                          EF_NONE,
                                          3,
                                          {{"res", PT_ERRNO, PF_DEC},
                                           {"name", PT_CHARBUF, PF_NA},
                                           {"flags", PT_FLAGS32, PF_HEX, delete_module_flags}}},
        [PPME_SYSCALL_SETREUID_E] = {"setreuid", EC_USER | EC_SYSCALL, EF_MODIFIES_STATE, 0},
        [PPME_SYSCALL_SETREUID_X] = {"setreuid",
                                     EC_USER | EC_SYSCALL,
                                     EF_MODIFIES_STATE,
                                     3,
                                     {{"res", PT_ERRNO, PF_DEC},
                                      {"ruid", PT_UID, PF_DEC},
                                      {"euid", PT_UID, PF_DEC}}},
        [PPME_SYSCALL_SETREGID_E] = {"setregid", EC_USER | EC_SYSCALL, EF_NONE, 0},
        [PPME_SYSCALL_SETREGID_X] = {"setregid",
                                     EC_USER | EC_SYSCALL,
                                     EF_MODIFIES_STATE,
                                     3,
                                     {{"res", PT_ERRNO, PF_DEC},
                                      {"rgid", PT_UID, PF_DEC},
                                      {"egid", PT_UID, PF_DEC}}},
}