From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753408AbdHOTEQ (ORCPT ); Tue, 15 Aug 2017 15:04:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:56572 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819AbdHOTEP (ORCPT ); Tue, 15 Aug 2017 15:04:15 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B40D722B67 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Date: Tue, 15 Aug 2017 16:04:12 -0300 From: Arnaldo Carvalho de Melo To: Adrian Hunter Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/5] perf script: Add support for exporting to sqlite3 Message-ID: <20170815190411.GC22988@kernel.org> References: <1501749090-20357-1-git-send-email-adrian.hunter@intel.com> <5bce6a00-9140-9dd0-e2ed-1e365f65611b@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5bce6a00-9140-9dd0-e2ed-1e365f65611b@intel.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Aug 15, 2017 at 12:25:24PM +0300, Adrian Hunter escreveu: > On 03/08/17 11:31, Adrian Hunter wrote: > > Hi > > > > Here is a script for exporting to SQLite 3 the same data as the PostgreSQL > > export. The call-graph script is renamed and amended to work with both > > PostgreSQL and SQLite. > > > > > > Adrian Hunter (5): > > perf script: Fix missing call_path_id in export-to-postgresql script > > perf script: Fix query in call-graph-from-postgresql.py > > perf script: Add support for exporting to sqlite3 > > perf script: Rename call-graph-from-postgresql.py to call-graph-from-sql.py > > perf script: Add support for sqlite3 to call-graph-from-sql.py > > > > tools/perf/Documentation/intel-pt.txt | 6 +- > > .../scripts/python/bin/export-to-sqlite-record | 8 + > > .../scripts/python/bin/export-to-sqlite-report | 29 ++ > > ...h-from-postgresql.py => call-graph-from-sql.py} | 70 ++-- > > tools/perf/scripts/python/export-to-postgresql.py | 5 +- > > tools/perf/scripts/python/export-to-sqlite.py | 451 +++++++++++++++++++++ > > 6 files changed, 535 insertions(+), 34 deletions(-) > > create mode 100644 tools/perf/scripts/python/bin/export-to-sqlite-record > > create mode 100644 tools/perf/scripts/python/bin/export-to-sqlite-report > > rename tools/perf/scripts/python/{call-graph-from-postgresql.py => call-graph-from-sql.py} (87%) > > create mode 100644 tools/perf/scripts/python/export-to-sqlite.py > > Any problem with these? Nope, will try and process them soon, sorry for the delay... - Arnaldo