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:
666e6d4
)
perf tools: Fix thread map that is type pid_t
author
Robert Richter
<robert.richter@amd.com>
Thu, 5 Apr 2012 16:26:26 +0000
(18:26 +0200)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 11 Apr 2012 20:38:50 +0000
(17:38 -0300)
Thread map is actually type pid_t and not int.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: Ingo Molnar <mingo@kernel.org>
Link:
http://lkml.kernel.org/r/1333643188-26895-3-git-send-email-robert.richter@amd.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/thread_map.h
patch
|
blob
|
history
diff --git
a/tools/perf/util/thread_map.h
b/tools/perf/util/thread_map.h
index 7da80f14418bc12795bab11d9bfb9fe04eb2669f..f718df8a3c59d1d80dad5e372b96bd4f6e92120b 100644
(file)
--- a/
tools/perf/util/thread_map.h
+++ b/
tools/perf/util/thread_map.h
@@
-6,7
+6,7
@@
struct thread_map {
int nr;
-
in
t map[];
+
pid_
t map[];
};
struct thread_map *thread_map__new_by_pid(pid_t pid);