History

perf script: Fix postgresql ubuntu install instructions

The current instructions for setting up an Ubuntu system for using the export-to-postgresql.py script are incorrect. The instructions in the script have been updated to work on newer versions of ubuntu. -Add missing dependencies to apt-get command: python-pyside.qtsql, libqt4-sql-psql -Add '-s' option to createuser command to force the user to be a superuser since the command doesn't prompt as indicated in the current instructions. Tested on: Ubuntu 14.04, Ubuntu 16.04(beta)

Chris Phlipot committed 10 years ago

Commit d6632dd1 parent e3815261 file · +2 −3Browse files

Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all

Unified · Split

tools/perf/scripts/python/export-to-postgresql.py+2−3
@@ -34,10 +34,9 @@ import datetime · 33 unmodified lines
3434 #
3535 # ubuntu:
3636 #
37−# $ sudo apt-get install postgresql
37+# $ sudo apt-get install postgresql python-pyside.qtsql libqt4-sql-psql
3838 # $ sudo su - postgres
39−# $ createuser <your user id here>
40−# Shall the new role be a superuser? (y/n) y
39+# $ createuser -s <your user id here>
4140 #
4241 # An example of using this script with Intel PT:
4342 #

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t