perf session: Move the global threads list to perf_session