diff options
-rw-r--r-- | tools/perf/builtin-script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index ea71c5e1a94f..d71b745da06e 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -443,7 +443,7 @@ static int process_sample_event(struct perf_tool *tool __used, | |||
443 | struct machine *machine) | 443 | struct machine *machine) |
444 | { | 444 | { |
445 | struct addr_location al; | 445 | struct addr_location al; |
446 | struct thread *thread = machine__findnew_thread(machine, event->ip.pid); | 446 | struct thread *thread = machine__findnew_thread(machine, event->ip.tid); |
447 | 447 | ||
448 | if (thread == NULL) { | 448 | if (thread == NULL) { |
449 | pr_debug("problem processing %d event, skipping it.\n", | 449 | pr_debug("problem processing %d event, skipping it.\n", |