Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1382301 > unrolled thread
| Started by | Chris Phlipot <cphlipot0@gmail.com> |
|---|---|
| First post | 2016-04-19 11:00 +0200 |
| Last post | 2016-04-23 15:10 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 3/5] perf script: fix postgresql ubuntu install instructions Chris Phlipot <cphlipot0@gmail.com> - 2016-04-19 11:00 +0200
Re: [PATCH 3/5] perf script: fix postgresql ubuntu install instructions Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-04-19 15:50 +0200
[tip:perf/core] perf script: Fix postgresql ubuntu install instructions tip-bot for Chris Phlipot <tipbot@zytor.com> - 2016-04-23 15:10 +0200
| From | Chris Phlipot <cphlipot0@gmail.com> |
|---|---|
| Date | 2016-04-19 11:00 +0200 |
| Subject | [PATCH 3/5] perf script: fix postgresql ubuntu install instructions |
| Message-ID | <rpzFN-3WK-25@gated-at.bofh.it> |
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)
Signed-off-by: Chris Phlipot <cphlipot0@gmail.com>
---
tools/perf/scripts/python/export-to-postgresql.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/perf/scripts/python/export-to-postgresql.py b/tools/perf/scripts/python/export-to-postgresql.py
index 1b02cdc..6f0ca68 100644
--- a/tools/perf/scripts/python/export-to-postgresql.py
+++ b/tools/perf/scripts/python/export-to-postgresql.py
@@ -34,10 +34,9 @@ import datetime
#
# ubuntu:
#
-# $ sudo apt-get install postgresql
+# $ sudo apt-get install postgresql python-pyside.qtsql libqt4-sql-psql
# $ sudo su - postgres
-# $ createuser <your user id here>
-# Shall the new role be a superuser? (y/n) y
+# $ createuser -s <your user id here>
#
# An example of using this script with Intel PT:
#
--
2.7.4
[toc] | [next] | [standalone]
| From | Arnaldo Carvalho de Melo <acme@kernel.org> |
|---|---|
| Date | 2016-04-19 15:50 +0200 |
| Subject | Re: [PATCH 3/5] perf script: fix postgresql ubuntu install instructions |
| Message-ID | <rpEcq-7GG-17@gated-at.bofh.it> |
| In reply to | #1382301 |
Em Tue, Apr 19, 2016 at 01:56:02AM -0700, Chris Phlipot escreveu: > 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) Applied. > Signed-off-by: Chris Phlipot <cphlipot0@gmail.com> > --- > tools/perf/scripts/python/export-to-postgresql.py | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/tools/perf/scripts/python/export-to-postgresql.py b/tools/perf/scripts/python/export-to-postgresql.py > index 1b02cdc..6f0ca68 100644 > --- a/tools/perf/scripts/python/export-to-postgresql.py > +++ b/tools/perf/scripts/python/export-to-postgresql.py > @@ -34,10 +34,9 @@ import datetime > # > # ubuntu: > # > -# $ sudo apt-get install postgresql > +# $ sudo apt-get install postgresql python-pyside.qtsql libqt4-sql-psql > # $ sudo su - postgres > -# $ createuser <your user id here> > -# Shall the new role be a superuser? (y/n) y > +# $ createuser -s <your user id here> > # > # An example of using this script with Intel PT: > # > -- > 2.7.4
[toc] | [prev] | [next] | [standalone]
| From | tip-bot for Chris Phlipot <tipbot@zytor.com> |
|---|---|
| Date | 2016-04-23 15:10 +0200 |
| Subject | [tip:perf/core] perf script: Fix postgresql ubuntu install instructions |
| Message-ID | <rr5tU-3ws-7@gated-at.bofh.it> |
| In reply to | #1382301 |
Commit-ID: d6632dd59b66c89724ef28e2723586d1429382aa
Gitweb: http://git.kernel.org/tip/d6632dd59b66c89724ef28e2723586d1429382aa
Author: Chris Phlipot <cphlipot0@gmail.com>
AuthorDate: Tue, 19 Apr 2016 01:56:02 -0700
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Tue, 19 Apr 2016 12:36:54 -0300
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)
Signed-off-by: Chris Phlipot <cphlipot0@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1461056164-14914-3-git-send-email-cphlipot0@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/scripts/python/export-to-postgresql.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/perf/scripts/python/export-to-postgresql.py b/tools/perf/scripts/python/export-to-postgresql.py
index 1b02cdc..6f0ca68 100644
--- a/tools/perf/scripts/python/export-to-postgresql.py
+++ b/tools/perf/scripts/python/export-to-postgresql.py
@@ -34,10 +34,9 @@ import datetime
#
# ubuntu:
#
-# $ sudo apt-get install postgresql
+# $ sudo apt-get install postgresql python-pyside.qtsql libqt4-sql-psql
# $ sudo su - postgres
-# $ createuser <your user id here>
-# Shall the new role be a superuser? (y/n) y
+# $ createuser -s <your user id here>
#
# An example of using this script with Intel PT:
#
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web