OSDN Git Service

perf auxtrace: Add support for AUX area sample recording
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 15 Nov 2019 12:42:15 +0000 (14:42 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 22 Nov 2019 13:48:13 +0000 (10:48 -0300)
commitf0bb7ee8530a07d3c23bd2e06984796e66cfbcf1
tree354254df8c15bde44250a32aa4efb0ca70ad1079
parentf306de275b7c18da9ab060acb3dfa91c09e9ae89
perf auxtrace: Add support for AUX area sample recording

Add support for parsing and validating AUX area sample options. At
present, the only option is the sample size, but it is also necessary to
ensure that events are in a group with an AUX area event as the leader.

Committer note:

Add missing 'static inline' in front of auxtrace_parse_sample_options()
for when we don't HAVE_AUXTRACE_SUPPORT.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lore.kernel.org/lkml/20191115124225.5247-6-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/auxtrace.c
tools/perf/util/auxtrace.h
tools/perf/util/pmu.h
tools/perf/util/record.h