| 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 |
| 9 | failed.</description> <pointer/> </field> |
| 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> |
| 17 | <field name="address"> <description>Address of the page to free.</description> <pointer/> </field> |
| 18 | </struct> |
| 19 | </event> |
| 20 | |
| 21 | <event name=swap_in> |
| 22 | <description>Page swapped into memory</description> |
| 23 | <struct> |
| 24 | <field name="address"> <description>Address of the page to swap in.</description> <pointer/> </field> |
| 25 | </struct> |
| 26 | </event> |
| 27 | |
| 28 | <event name=swap_out> |
| 29 | <description>Page swapped to disk</description> |
| 30 | <struct> |
| 31 | <field name="address"> <description>Address of the page to swap out.</description> <pointer/> </field> |
| 32 | </struct> |
| 33 | </event> |
| 34 | |
| 35 | <event name=page_wait_start> |
| 36 | <description>Staring to wait for a page</description> |
| 37 | <struct> |
| 38 | <field name="address"> <description>Address of the page we wait for.</description> <pointer/> </field> |
| 39 | </struct> |
| 40 | </event> |
| 41 | |
| 42 | <event name=page_wait_end> |
| 43 | <description>Ending wait for a page</description> |
| 44 | <struct> |
| 45 | <field name="address"> <description>Address of the page we wait for.</description> <pointer/> </field> |
| 46 | </struct> |
| 47 | </event> |
| 48 | |
| 49 | </facility> |