perf tools: Fix thread map that is type pid_t
authorRobert Richter <robert.richter@amd.com>
Thu, 5 Apr 2012 16:26:26 +0000 (18:26 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Apr 2012 20:38:50 +0000 (17:38 -0300)
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>
tools/perf/util/thread_map.h

index 7da80f14418bc12795bab11d9bfb9fe04eb2669f..f718df8a3c59d1d80dad5e372b96bd4f6e92120b 100644 (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);