Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • tools
  • perf
  • scripts
  • python
  • exported-sql-viewer.py
Find file BlameHistoryPermalink
  • Adrian Hunter's avatar
    perf scripts python: exported-sql-viewer.py: Add 'About' dialog box · b62d18ab
    Adrian Hunter authored May 03, 2019
    
    
    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: default avatarAdrian Hunter <adrian.hunter@intel.com>
    Tested-by: default avatarArnaldo 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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    b62d18ab
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7