Fixed a bug. Perf attr and fd are per thread attributes