From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752265AbcDWNEW (ORCPT ); Sat, 23 Apr 2016 09:04:22 -0400 Received: from terminus.zytor.com ([198.137.202.10]:39916 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751657AbcDWNEV (ORCPT ); Sat, 23 Apr 2016 09:04:21 -0400 Date: Sat, 23 Apr 2016 06:03:45 -0700 From: tip-bot for Chris Phlipot Message-ID: Cc: acme@redhat.com, cphlipot0@gmail.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, mingo@kernel.org, adrian.hunter@intel.com, hpa@zytor.com, peterz@infradead.org Reply-To: tglx@linutronix.de, cphlipot0@gmail.com, acme@redhat.com, mingo@kernel.org, linux-kernel@vger.kernel.org, adrian.hunter@intel.com, peterz@infradead.org, hpa@zytor.com In-Reply-To: <1461056164-14914-3-git-send-email-cphlipot0@gmail.com> References: <1461056164-14914-3-git-send-email-cphlipot0@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf script: Fix postgresql ubuntu install instructions Git-Commit-ID: d6632dd59b66c89724ef28e2723586d1429382aa X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: d6632dd59b66c89724ef28e2723586d1429382aa Gitweb: http://git.kernel.org/tip/d6632dd59b66c89724ef28e2723586d1429382aa Author: Chris Phlipot AuthorDate: Tue, 19 Apr 2016 01:56:02 -0700 Committer: Arnaldo Carvalho de Melo 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 Cc: Adrian Hunter Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1461056164-14914-3-git-send-email-cphlipot0@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- 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 -# Shall the new role be a superuser? (y/n) y +# $ createuser -s # # An example of using this script with Intel PT: #