diff options
| author | Robert Richter <[email protected]> | 2012-04-05 16:26:26 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-04-11 20:38:50 +0000 |
| commit | 61d5bf5b01a0baf0934a4bd3d15bc14e4bbf202c (patch) | |
| tree | ad4f598c94ac1bc0370d435138509c2f8c039751 | |
| parent | perf stat: Declare some references static (diff) | |
| download | kernel-61d5bf5b01a0baf0934a4bd3d15bc14e4bbf202c.tar.gz kernel-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 <[email protected]>
Cc: Ingo Molnar <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
| -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); |
