[PATCH v2 2/6] perf cs-etm: Avoid stale branch samples when flush packet