| 1 | <?xml version="1.0"?> |
| 2 | <facility name="kernel"> |
| 3 | <description>The kernel facility has events related to kernel execution status.</description> |
| 4 | |
| 5 | <type name="tasklet_priority"> |
| 6 | <enum> |
| 7 | <label name="LOW" value="0"/> <description>Low priority tasklet</description> |
| 8 | <label name="HIGH" value="1"/> <description>High priority tasklet</description> |
| 9 | </enum> |
| 10 | </type> |
| 11 | |
| 12 | <type name="irq_mode"> |
| 13 | <enum> |
| 14 | <label name="user" value="0"/> <description>User context</description> |
| 15 | <label name="kernel" value="1"/> <description>Kernel context</description> |
| 16 | </enum> |
| 17 | </type> |
| 18 | |
| 19 | <event name="soft_irq_entry"> |
| 20 | <description>Soft IRQ entry</description> |
| 21 | <field name="softirq_id"> <description>Soft IRQ number</description> <ulong/> </field> |
| 22 | </event> |
| 23 | |
| 24 | <event name="soft_irq_exit"> |
| 25 | <description>Soft IRQ exit</description> |
| 26 | <field name="softirq_id"> <description>Soft IRQ number</description> <ulong/> </field> |
| 27 | </event> |
| 28 | |
| 29 | <event name="tasklet_entry"> |
| 30 | <description>Tasklet entry</description> |
| 31 | <field name="priority"> <description>Tasklet priority</description> <typeref name="tasklet_priority"/> </field> |
| 32 | <field name="address"> <description>Tasklet function address</description> <pointer/> </field> |
| 33 | <field name="data"> <description>Tasklet data address</description> <ulong/> </field> |
| 34 | </event> |
| 35 | |
| 36 | <event name="tasklet_exit"> |
| 37 | <description>Tasklet exit</description> |
| 38 | <field name="priority"> <description>Tasklet priority</description> <typeref name="tasklet_priority"/> </field> |
| 39 | <field name="address"> <description>Tasklet function address</description> <pointer/> </field> |
| 40 | <field name="data"> <description>Tasklet data address</description> <ulong/> </field> |
| 41 | </event> |
| 42 | |
| 43 | <event name="irq_entry"> |
| 44 | <description>Entry in an irq</description> |
| 45 | <field name="irq_id"> <description>IRQ number</description> <uint size="4"/> </field> |
| 46 | <field name="mode"> <description>Are we executing kernel code</description><typeref name="irq_mode"/> </field> |
| 47 | </event> |
| 48 | |
| 49 | <event name="irq_exit"> |
| 50 | <description>Exit from an IRQ</description> |
| 51 | </event> |
| 52 | |
| 53 | <event name="printk"> |
| 54 | <description>Kernel printk</description> |
| 55 | <field name="ip"> <description>Instruction</description> |
| 56 | <pointer/> |
| 57 | </field> |
| 58 | </event> |
| 59 | |
| 60 | <event name="vprintk"> |
| 61 | <description>Kernel vprintk</description> |
| 62 | <field name="loglevel"> <description>loglevel</description> |
| 63 | <uint size="1"/> |
| 64 | </field> |
| 65 | <field name="text"> <description>printk string</description> |
| 66 | <sequence> |
| 67 | <uint/> |
| 68 | <uchar/> |
| 69 | </sequence> |
| 70 | </field> |
| 71 | <field name="ip"> <description>Instruction</description> |
| 72 | <pointer/> |
| 73 | </field> |
| 74 | </event> |
| 75 | |
| 76 | <event name="module_free"> |
| 77 | <description>Unload module</description> |
| 78 | <field name="name"> <description>Module name</description> |
| 79 | <string/> |
| 80 | </field> |
| 81 | </event> |
| 82 | |
| 83 | <event name="module_load"> |
| 84 | <description>Load module</description> |
| 85 | <field name="name"> <description>Module name</description> |
| 86 | <string/> |
| 87 | </field> |
| 88 | </event> |
| 89 | |
| 90 | </facility> |