]> Pileus Git - ~andy/linux/blobdiff - tools/perf/builtin-sched.c
Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty...
[~andy/linux] / 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) {