aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/thread_map.h
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2012-04-05 18:26:26 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-04-11 17:38:50 -0300
commit61d5bf5b01a0baf0934a4bd3d15bc14e4bbf202c (patch)
treead4f598c94ac1bc0370d435138509c2f8c039751 /tools/perf/util/thread_map.h
parentperf stat: Declare some references static (diff)
downloadlinux-dev-61d5bf5b01a0baf0934a4bd3d15bc14e4bbf202c.tar.xz
linux-dev-61d5bf5b01a0baf0934a4bd3d15bc14e4bbf202c.zip
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>
Diffstat (limited to 'tools/perf/util/thread_map.h')
-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 @@
struct thread_map {
int nr;
- int map[];
+ pid_t map[];
};
struct thread_map *thread_map__new_by_pid(pid_t pid);