31cbc5d3 |
1 | <facility name=memory> |
2 | <description>The memory facility has memory management events.</description> |
3 | |
4 | <event name=page_alloc> |
5 | <description>Page allocation</description> |
6 | <struct> |
7 | <field name="order"> <description>Order of the page to allocate</description> <uint size=4/> </field> |
8 | <field name="address"> <description>Assigned page address, or 0 if |
e3cc790d |
9 | failed.</description> <pointer/> </field> |
31cbc5d3 |
10 | </struct> |
11 | </event> |
12 | |
13 | <event name=page_free> |
14 | <description>Page free</description> |
15 | <struct> |
16 | <field name="order"> <description>Order of the page to free</description> <uint size=4/> </field> |
e3cc790d |
17 | <field name="address"> <description>Address of the page to free.</description> <pointer/> </field> |
31cbc5d3 |
18 | </struct> |
19 | </event> |
20 | |
21 | <event name=swap_in> |
22 | <description>Page swapped into memory</description> |
23 | <struct> |
e3cc790d |
24 | <field name="address"> <description>Address of the page to swap in.</description> <pointer/> </field> |
31cbc5d3 |
25 | </struct> |
26 | </event> |
27 | |
28 | <event name=swap_out> |
29 | <description>Page swapped to disk</description> |
30 | <struct> |
e3cc790d |
31 | <field name="address"> <description>Address of the page to swap out.</description> <pointer/> </field> |
31cbc5d3 |
32 | </struct> |
33 | </event> |
34 | |
35 | <event name=page_wait_start> |
36 | <description>Staring to wait for a page</description> |
37 | <struct> |
e3cc790d |
38 | <field name="address"> <description>Address of the page we wait for.</description> <pointer/> </field> |
31cbc5d3 |
39 | </struct> |
40 | </event> |
41 | |
42 | <event name=page_wait_end> |
43 | <description>Ending wait for a page</description> |
44 | <struct> |
e3cc790d |
45 | <field name="address"> <description>Address of the page we wait for.</description> <pointer/> </field> |
31cbc5d3 |
46 | </struct> |
47 | </event> |
48 | |
49 | </facility> |