perf script: Always allow fields 'addr' and 'cpu' for auxtrace
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 24 Apr 2015 19:29:44 +0000 (22:29 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 May 2015 15:43:49 +0000 (12:43 -0300)
commit6d5cdd64f314e03c8606c777dc44b09769f8e038
treef78fb84f0a866aec3c01b1985f33ee629bf2582c
parentb72e74d1f140eb32865540f9e26e9fe0fcf983b9
perf script: Always allow fields 'addr' and 'cpu' for auxtrace

If a file contains AUX area tracing data then always allow fields 'addr'
and 'cpu' to be selected as options for perf script.  This is necessary
because AUX area decoding may synthesize events with that information.

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: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1429903807-20559-3-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c