]> git.baikalelectronics.ru Git - kernel.git/commit
perf scripts python: export-to-sqlite.py: Export Intel PT power and ptwrite events
authorAdrian Hunter <adrian.hunter@intel.com>
Sat, 22 Jun 2019 09:32:47 +0000 (12:32 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Jun 2019 11:47:10 +0000 (08:47 -0300)
commit122adfb68f7c193c57948382baec1e5eea3a0bbd
tree84abeffa79091aa6338637a1b0dce644dea3a7ab
parentcb2ba0ffbb97d9fadb3b41a587b27b4367819dd3
perf scripts python: export-to-sqlite.py: Export Intel PT power and ptwrite events

The format of synthesized events is determined by the attribute config.
For the formats for Intel PT power and ptwrite events, create tables and
populate them when the synth_data handler is called. If the tables
remain empty, drop them at the end.

The tables and views, including a combined power_events_view, will
display automatically from the tables menu of the exported
exported-sql-viewer.py script.

Note, currently only Atoms since Gemini Lake have support for ptwrite
and mwait, pwre, exstop and pwrx, but all Intel PT implementations
support cbr.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190622093248.581-7-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/export-to-sqlite.py