Skip to content

Commit

Permalink
perf tools: Fix thread map that is type pid_t
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert Richter authored and Arnaldo Carvalho de Melo committed Apr 11, 2012
1 parent 666e6d4 commit 61d5bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/perf/util/thread_map.h
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 61d5bf5

Please sign in to comment.