diff options
author | Robert Richter <robert.richter@amd.com> | 2012-04-05 18:26:26 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-04-11 17:38:50 -0300 |
commit | 61d5bf5b01a0baf0934a4bd3d15bc14e4bbf202c (patch) | |
tree | ad4f598c94ac1bc0370d435138509c2f8c039751 /tools/perf/util | |
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>
Diffstat (limited to 'tools/perf/util')
-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 @@ struct thread_map { int nr; - int map[]; + pid_t map[]; }; struct thread_map *thread_map__new_by_pid(pid_t pid); |