projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ded57a
)
perf sched: Look up thread using tid instead of pid
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Mon, 1 Oct 2012 16:58:17 +0000
(13:58 -0300)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Tue, 2 Oct 2012 21:36:28 +0000
(18:36 -0300)
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link:
http://lkml.kernel.org/n/tip-zdu8up6vahogckg2uft7wh3n@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-sched.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-sched.c
b/tools/perf/builtin-sched.c
index
9b9e32e
..
3488ead
100644
(file)
--- a/
tools/perf/builtin-sched.c
+++ b/
tools/perf/builtin-sched.c
@@
-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->
p
id);
+ struct thread *thread = machine__findnew_thread(machine, sample->
t
id);
int err = 0;
if (thread == NULL) {