diff options
author | Robert Richter <robert.richter@amd.com> | 2012-04-05 12:26:26 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-04-11 16:38:50 -0400 |
commit | 61d5bf5b01a0baf0934a4bd3d15bc14e4bbf202c (patch) | |
tree | ad4f598c94ac1bc0370d435138509c2f8c039751 | |
parent | 666e6d48c57921874008d97aac13f6ee3e24fd55 (diff) |
perf tools: Fix thread map that is type pid_t
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>
-rw-r--r-- | tools/perf/util/thread_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/thread_map.h b/tools/perf/util/thread_map.h index 7da80f14418b..f718df8a3c59 100644 --- a/tools/perf/util/thread_map.h +++ b/tools/perf/util/thread_map.h | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | struct thread_map { | 7 | struct thread_map { |
8 | int nr; | 8 | int nr; |
9 | int map[]; | 9 | pid_t map[]; |
10 | }; | 10 | }; |
11 | 11 | ||
12 | struct thread_map *thread_map__new_by_pid(pid_t pid); | 12 | struct thread_map *thread_map__new_by_pid(pid_t pid); |