--- /dev/null
+<facility name=locking>
+ <description>The locking facility instruments the kernel locking.</description>
+ <event name=spin_lock_wait>
+ <description>Takes a spinlock</description>
+ <field name="spinlock"> <description>Spinlock address</description> <pointer/> </field>
+ </event>
+
+ <event name=spin_lock_try>
+ <description>Tries a spinlock</description>
+ <field name="spinlock"> <description>Spinlock address</description> <pointer/> </field>
+ </event>
+
+ <event name=spin_lock_entry>
+ <description>Get a spinlock</description>
+ <field name="spinlock"> <description>Spinlock address</description> <pointer/> </field>
+ </event>
+
+ <event name=spin_lock_exit>
+ <description>Releases a spinlock</description>
+ <field name="spinlock"> <description>Spinlock address</description> <pointer/> </field>
+ </event>
+
+
+</facility>
--- /dev/null
+<facility name=stack_arch arch=i386>
+ <description>The stack facility has events related to getting process stack.</description>
+
+ <event name=process_dump>
+ <description>Process EIP on the user stack</description>
+ <field name="eip"> <description>Sequence of EIP</description>
+ <sequence custom_write/>
+ <uint>
+ <ulong>
+ </sequence>
+ </field>
+ </event>
+
+ <event name=kernel_dump>
+ <description>EIP on the kernel stack</description>
+ <field name="eip"> <description>Sequence of EIP</description>
+ <sequence custom_write/>
+ <uint>
+ <ulong>
+ </sequence>
+ </field>
+ </event>
+
+
+</facility>