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>
This commit is contained in:
Robert Richter 2012-04-05 18:26:26 +02:00 committed by Arnaldo Carvalho de Melo
parent 666e6d48c5
commit 61d5bf5b01

View file

@ -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);