[PATCH v4 4/5] perf cs-etm: Optimize copying last branches