]> git.baikalelectronics.ru Git - kernel.git/commit
perf scripts python: exported-sql-viewer.py: Move view creation
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 3 May 2019 12:08:24 +0000 (15:08 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 15 May 2019 19:36:47 +0000 (16:36 -0300)
commitc7e2d89b2c0cc7ab9d50e77a043615218a44515c
tree2c63ed2448396fd7f14d573eb7f35ddabf2fdaa6
parent6e8e05cde5204fde8aab5ee7ff99cf255caabb00
perf scripts python: exported-sql-viewer.py: Move view creation

As preparation for adding support for copying to clipboard, create view
in TreeWindowBase instead of derived classes.

Committer testing:

Tested using an old .db used to test some older patches:

  $ python ~acme/libexec/perf-core/scripts/python/exported-sql-viewer.py ~/c/adrian.hunter/simple-retpoline.db

Nothing breaks.

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