From: Robert Richter Date: Thu, 5 Apr 2012 16:26:26 +0000 (+0200) Subject: perf tools: Fix thread map that is type pid_t X-Git-Tag: v3.12-rc1~3124^3~65^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61d5bf5b01a0baf0934a4bd3d15bc14e4bbf202c;p=kernel%2Fkernel-generic.git 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 Cc: Ingo Molnar Link: http://lkml.kernel.org/r/1333643188-26895-3-git-send-email-robert.richter@amd.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/thread_map.h b/tools/perf/util/thread_map.h index 7da80f1..f718df8 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);