perf script: Fix named threads support