pub fn sys_thread_set_trace_events( target: ObjID, events: u64, ) -> Result<(), TwzError>
Set the Trap State for the thread.