diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2021-05-25 12:51:11 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-05-25 10:07:17 -0300 |
commit | 2ede92173faa14ed6a5272b3e7a6dd6daae3b161 (patch) | |
tree | 15678e58dc7c9a8acedd252c1adf9775165e40f4 /tools/perf/util/trace-event.h | |
parent | 0db2134069275d1177c2dd531cbc73578b7ec8ac (diff) | |
download | linux-stable-2ede92173faa14ed6a5272b3e7a6dd6daae3b161.tar.gz linux-stable-2ede92173faa14ed6a5272b3e7a6dd6daae3b161.tar.bz2 linux-stable-2ede92173faa14ed6a5272b3e7a6dd6daae3b161.zip |
perf scripting python: Add auxtrace error
Add auxtrace_error to general python scripting.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20210525095112.1399-10-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/trace-event.h')
-rw-r--r-- | tools/perf/util/trace-event.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/trace-event.h b/tools/perf/util/trace-event.h index 7276674e2971..35c354a15c3a 100644 --- a/tools/perf/util/trace-event.h +++ b/tools/perf/util/trace-event.h @@ -83,6 +83,8 @@ struct scripting_ops { void (*process_switch)(union perf_event *event, struct perf_sample *sample, struct machine *machine); + void (*process_auxtrace_error)(struct perf_session *session, + union perf_event *event); void (*process_stat)(struct perf_stat_config *config, struct evsel *evsel, u64 tstamp); void (*process_stat_interval)(u64 tstamp); |