diff options
author | Adrian Hunter <[email protected]> | 2022-01-24 10:41:50 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-02-15 17:12:13 -0300 |
commit | ef3b2ba9640d0e1e6991b8a5c0ddece2fc3e4d23 (patch) | |
tree | 1d9e03b6aa4a3b22cf2002d300c5273a6ca2b43b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f2be829e72f90e6d83923398a861f0aaa74952ee (diff) |
perf intel-pt: Synthesize CFE (Control Flow Event) / EVD (Event Data) event
Synthesize an attribute event and sample events for Intel PT Event Trace
events represented by CFE and EVD packets.
Committer notes:
Make 'struct perf_synth_intel_evd evd[]' evd[0] at the end of 'struct
perf_synth_intel_evt' as it is breaking the build with in many compilers
with (e.g. clang version 13.0.0 (Fedora 13.0.0-3.fc35)):
util/intel-pt.c:2213:31: error: field 'cfe' with variable sized type 'struct perf_synth_intel_evt' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
struct perf_synth_intel_evt cfe;
^
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions