]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - tools/perf/builtin-sched.c
Merge remote-tracking branch 'asoc/topic/core' into asoc-next
[karo-tx-linux.git] / tools / perf / builtin-sched.c
index 9b9e32eaa8051da3a5cf562e38abe372a1afb6ee..3488ead3b60ce80707493e93f821945bad8a6455 100644 (file)
@@ -1426,7 +1426,7 @@ static int perf_sched__process_tracepoint_sample(struct perf_tool *tool __maybe_
                                                 struct perf_evsel *evsel,
                                                 struct machine *machine)
 {
-       struct thread *thread = machine__findnew_thread(machine, sample->pid);
+       struct thread *thread = machine__findnew_thread(machine, sample->tid);
        int err = 0;
 
        if (thread == NULL) {