WIP Add trace for XSUBs