| 1 | <?xml version="1.0"?> |
| 2 | <facility name="mm"> |
| 3 | <description>The memory facility has memory management events.</description> |
| 4 | |
| 5 | <event name="handle_fault_entry"> |
| 6 | <description>Entry in a trap</description> |
| 7 | <field name="trap_id"> <description>Trap number</description> <long/> </field> |
| 8 | <field name="address"> <description>Address where trap occured</description> <long/> </field> |
| 9 | </event> |
| 10 | |
| 11 | <event name="handle_fault_exit"> |
| 12 | <description>Exit from the fault handler</description> |
| 13 | </event> |
| 14 | |
| 15 | <event name="filemap_wait_start"> |
| 16 | <description>Staring to wait for a page</description> |
| 17 | <field name="address"> <description>Address of the page we wait for.</description> <pointer/> </field> |
| 18 | </event> |
| 19 | |
| 20 | <event name="filemap_wait_end"> |
| 21 | <description>Ending wait for a page</description> |
| 22 | <field name="address"> <description>Address of the page we wait for.</description> <pointer/> </field> |
| 23 | </event> |
| 24 | |
| 25 | <event name="page_alloc"> |
| 26 | <description>Page allocation</description> |
| 27 | <field name="order"> <description>Order of the page to allocate</description> <uint size="4"/> </field> |
| 28 | <field name="address"> <description>Assigned page address, or 0 if failed.</description> <pointer/> </field> |
| 29 | </event> |
| 30 | |
| 31 | <event name="page_free"> |
| 32 | <description>Page free</description> |
| 33 | <field name="order"> <description>Order of the page to free</description> <uint size="4"/> </field> |
| 34 | <field name="address"> <description>Address of the page to free.</description> <pointer/> </field> |
| 35 | </event> |
| 36 | |
| 37 | <event name="swap_in"> |
| 38 | <description>Page swapped into memory</description> |
| 39 | <field name="address"> <description>Address of the page to swap in.</description> <ulong/> </field> |
| 40 | </event> |
| 41 | |
| 42 | <event name="swap_out"> |
| 43 | <description>Page swapped to disk</description> |
| 44 | <field name="address"> <description>Address of the page to swap out.</description> <pointer/> </field> |
| 45 | </event> |
| 46 | |
| 47 | </facility> |