aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2012-04-05 12:26:26 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-04-11 16:38:50 -0400
commit61d5bf5b01a0baf0934a4bd3d15bc14e4bbf202c (patch)
treead4f598c94ac1bc0370d435138509c2f8c039751
parent666e6d48c57921874008d97aac13f6ee3e24fd55 (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.h2
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
7struct thread_map { 7struct thread_map {
8 int nr; 8 int nr;
9 int map[]; 9 pid_t map[];
10}; 10};
11 11
12struct thread_map *thread_map__new_by_pid(pid_t pid); 12struct thread_map *thread_map__new_by_pid(pid_t pid);