From 0a1762bfd14f2324ef47402301315761d089949e Mon Sep 17 00:00:00 2001 From: David Ahern Date: Thu, 22 Dec 2011 11:30:03 -0700 Subject: [PATCH] --- yaml --- r: 277353 b: refs/heads/master c: 64aab93cdffb3967642ffab954395ae2400c0b06 h: refs/heads/master i: 277351: fc9dc047339b2acd91ad41b0c6b0a1c9c014a425 v: v3 --- [refs] | 2 +- trunk/tools/perf/builtin-script.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 17ff66df9739..15e4372041db 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f5faf726184a6a5ca1735f610cb97e509fce33e2 +refs/heads/master: 64aab93cdffb3967642ffab954395ae2400c0b06 diff --git a/trunk/tools/perf/builtin-script.c b/trunk/tools/perf/builtin-script.c index ea71c5e1a94f..d71b745da06e 100644 --- a/trunk/tools/perf/builtin-script.c +++ b/trunk/tools/perf/builtin-script.c @@ -443,7 +443,7 @@ static int process_sample_event(struct perf_tool *tool __used, struct machine *machine) { struct addr_location al; - struct thread *thread = machine__findnew_thread(machine, event->ip.pid); + struct thread *thread = machine__findnew_thread(machine, event->ip.tid); if (thread == NULL) { pr_debug("problem processing %d event, skipping it.\n",