target-xtensa: record and dump execution trace

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
WIP: strange SMP fixes

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
fix SMP

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>