]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9cf66d4f797d37ae0da4de674075cc8e7c5eed76
tree354254df8c15bde44250a32aa4efb0ca70ad1079
parentd9183868cc13c9c04c7ad158e58a5ef47d62ec7a
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