projects
/
openwrt
/
staging
/
blogic.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
<
[email protected]
>
Mon, 1 Oct 2012 16:58:17 +0000
(13:58 -0300)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Tue, 2 Oct 2012 21:36:28 +0000
(18:36 -0300)
Cc: David Ahern <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Stephane Eranian <
[email protected]
>
Link:
http://lkml.kernel.org/n/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/builtin-sched.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-sched.c
b/tools/perf/builtin-sched.c
index 9b9e32eaa8051da3a5cf562e38abe372a1afb6ee..3488ead3b60ce80707493e93f821945bad8a6455 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) {