aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/dwarf-unwind.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/dwarf-unwind.c')
-rw-r--r--tools/perf/tests/dwarf-unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/dwarf-unwind.c b/tools/perf/tests/dwarf-unwind.c
index f16ea2808a75..c059ee81c038 100644
--- a/tools/perf/tests/dwarf-unwind.c
+++ b/tools/perf/tests/dwarf-unwind.c
@@ -128,7 +128,7 @@ int test__dwarf_unwind(void)
128 if (verbose > 1) 128 if (verbose > 1)
129 machine__fprintf(machine, stderr); 129 machine__fprintf(machine, stderr);
130 130
131 thread = machine__find_thread(machine, getpid()); 131 thread = machine__find_thread(machine, getpid(), getpid());
132 if (!thread) { 132 if (!thread) {
133 pr_err("Could not get thread\n"); 133 pr_err("Could not get thread\n");
134 goto out; 134 goto out;