perf sched: Remove thread lookup in sample handler