perf trace: No need to enable evsels for workload started from perf
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 3 Feb 2015 16:25:39 +0000 (13:25 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 7 Feb 2015 12:08:03 +0000 (13:08 +0100)
commitf7aa222ff397bd99153a039578864c1a36b8f391
tree89d55726d2dbb5d404d19bebfd2b0887aafa2e7d
parentaa1aac17a15cbf64236bd6f3b855262dcfb845c9
perf trace: No need to enable evsels for workload started from perf

As they will have perf_event_attr.enable_on_exec set, starting as soon
as we exec() the workload.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-vmj3f6o3vxrg7mrdipts09li@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c