ac/registers: add definitions for thread trace