diff options
author | Adrian Hunter | 2019-05-03 14:08:28 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2019-05-15 21:36:47 +0200 |
commit | b62d18aba1109506c1926ab7b564c4ac3bd48786 (patch) | |
tree | c796b72b889b9ff94fc39e92e8c36677d57b2d2c /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | perf scripts python: exported-sql-viewer.py: Add context menu (diff) | |
download | kernel-qcow2-linux-b62d18aba1109506c1926ab7b564c4ac3bd48786.tar.gz kernel-qcow2-linux-b62d18aba1109506c1926ab7b564c4ac3bd48786.tar.xz kernel-qcow2-linux-b62d18aba1109506c1926ab7b564c4ac3bd48786.zip |
perf scripts python: exported-sql-viewer.py: Add 'About' dialog box
With support for Python 2 or 3 and PySide 1 or 2 (Qt 4 or 5), it is
useful to see what versions are in use. Add an 'About' dialog box that
displays Python, PySide, Qt and database server (SQLite or PostgreSQL)
version numbers.
Committer testing:
$ python ~acme/libexec/perf-core/scripts/python/exported-sql-viewer.py ~/c/adrian.hunter/simple-retpoline.db
Then go to 'Help', then 'About', select all the lines with the mouse
press 'Control+C', then, on the same terminal press control+shift+V
which shows my current environment:
Python version: 2.7.16
PySide version: 1
Qt version: 4.8.7
SQLite version: 3.26.0
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-7-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions