summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-sqlite-record
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2017-08-03 11:31:28 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-08-15 22:37:55 +0300
commit564b9527d1ccf5d581275391e39ac4b1f29f0d08 (patch)
treea1d68cec82a7ab114e8dca3a097f1b2ba2ac7cae /tools/perf/scripts/python/bin/export-to-sqlite-record
parent2295e9f850b0efbc57c81fccdd8bd8d26fe10029 (diff)
downloadlinux-564b9527d1ccf5d581275391e39ac4b1f29f0d08.tar.xz
perf script python: Add support for exporting to sqlite3
Add support for exporting to SQLite 3 the same data as the PostgreSQL export. Committer note: Tested on RHEL 7.4 using the 1.2.2-4el python-pyside packages from EPEL. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Link: http://lkml.kernel.org/r/1501749090-20357-4-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-record')
-rw-r--r--tools/perf/scripts/python/bin/export-to-sqlite-record8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/bin/export-to-sqlite-record b/tools/perf/scripts/python/bin/export-to-sqlite-record
new file mode 100644
index 000000000000..070204fd6d00
--- /dev/null
+++ b/tools/perf/scripts/python/bin/export-to-sqlite-record
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+#
+# export perf data to a sqlite3 database. Can cover
+# perf ip samples (excluding the tracepoints). No special
+# record requirements, just record what you want to export.
+#
+perf record $@