perf scripts python: exported-sql-viewer.py: Add Time chart by CPU
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 21 Aug 2019 08:32:16 +0000 (11:32 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 Oct 2019 15:22:17 +0000 (12:22 -0300)
commitb3700f21c2ede55aeab3aba728bce434051ec631
treec1ad69483420a4d335117041029815fc7ff001e7
parente69d5df75d74da14cbc8c96bbc1d9e86cc91ad0b
perf scripts python: exported-sql-viewer.py: Add Time chart by CPU

Add a time chart based on context switch information.

Context switch information was added to the database export fairly
recently, so the chart menu option will only appear if context switch
information is in the database.

Refer to the Exported SQL Viewer Help option for more information about
the chart.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lore.kernel.org/lkml/20190821083216.1340-7-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/exported-sql-viewer.py