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>
This commit is contained in:

committed by
Arnaldo Carvalho de Melo

parent
f306de275b
commit
f0bb7ee853
@@ -26,6 +26,7 @@ struct perf_pmu {
|
||||
__u32 type;
|
||||
bool selectable;
|
||||
bool is_uncore;
|
||||
bool auxtrace;
|
||||
int max_precise;
|
||||
struct perf_event_attr *default_config;
|
||||
struct perf_cpu_map *cpus;
|
||||
|
Reference in New Issue
Block a user