The following tracing features are used in this procedure:
changing the trace buffer size
capturing trace with ETM timestamping enabled
capturing trace with trace start and end points
analyzing the profiling data.