perf db-export: Export synth events
authorAdrian Hunter <adrian.hunter@intel.com>
Sat, 22 Jun 2019 09:32:46 +0000 (12:32 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Jun 2019 11:47:10 +0000 (08:47 -0300)
commitb9322cab17a1092e2aa7ee2505ecceb0cd5fd685
tree9979d38d4c53f319dc863225fc4d7a780529d859
parent5fe2cf7d19c48f2b53b57e6a5786972bc1b8d738
perf db-export: Export synth events

Synthesized events are samples but with architecture-specific data
stored in sample->raw_data. They are identified by attribute type
PERF_TYPE_SYNTH.  Add a function to export them.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190622093248.581-6-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/scripting-engines/trace-event-python.c