perf tools: Identify which comms are from exec
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 31 Jul 2014 06:00:44 +0000 (09:00 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Aug 2014 22:23:08 +0000 (19:23 -0300)
commit65de51f93ebf9305ec011da59c0b5fe29429d1b9
tree80a42fb96d8820b8ec0ba70189a9ea138dd28cd1
parenta5563edfa1bd25d052d81f5ad7fe74ba71c3d44e
perf tools: Identify which comms are from exec

For grouping together all the data from a single execution, which is
needed for pairing calls and returns e.g. any outstanding calls when a
process exec's will never return.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
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/1406786474-9306-2-git-send-email-adrian.hunter@intel.com
[ Remove testing if comm->exec is false before setting it to true ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/comm.c
tools/perf/util/comm.h
tools/perf/util/machine.c
tools/perf/util/thread.c
tools/perf/util/thread.h