perf tools: Save parent pid in thread struct
authorDavid Ahern <dsahern@gmail.com>
Sun, 26 May 2013 04:47:10 +0000 (22:47 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 May 2013 13:24:05 +0000 (16:24 +0300)
commit70c57efb6118bff7426a6086026a4a8f3bd3c9e3
treeb108d219494ff498bf4da7ac9544696692751b04
parent45528f7c699a71d2f3096173980aadd43dff6eaa
perf  tools: Save parent pid in thread struct

Information is available, so why not save it in case some command wants
to use it.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1369543631-5106-1-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/thread.c
tools/perf/util/thread.h