perf tools: Add pid to struct thread
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 26 Aug 2013 13:00:19 +0000 (16:00 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Aug 2013 14:05:53 +0000 (11:05 -0300)
commit99d725fc65563a85d4290342c81b00a673c6be66
treefde3a103b824d4c60fb8102063495aa176b11e8c
parent9e9716d1b929ddb6955a5954fe1d9a74b233df0d
perf tools: Add pid to struct thread

Record pid on struct thread.  The member is named 'pid_' to avoid
confusion with the 'tid' member which was previously named 'pid'.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: David Ahern <dsahern@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1377522030-27870-3-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c
tools/perf/util/thread.c
tools/perf/util/thread.h