I have learned that both trace and Statistical Profiling Extension(SPE) can measure performance and output profiling information like PC, performance register values, etc. Compared to trace, SPE records more detailed performance information. What's the relationship between trace and SPE? Is it possible to extend the performance information recorded by Trace to achieve the corresponding functionality of SPE?