linux_old1/tools/perf/scripts/python
Adrian Hunter 1fe03b5f2d perf script python: Add support for sqlite3 to call-graph-from-sql.py
Add support for SQLite 3 to the call-graph-from-sql.py script. The SQL
statements work as is, so just detect the database type by checking if the
SQLite 3 file exists.

Committer notes:

Tested collecting the PT data on a RHEL7.4, generating the SQLite3
database there and then moving it to a Fedora 26 system where the
call-graph-from-sql.py script was run, using python-pyside version
1.2.2-7fc26 to see the callgraphs using Qt4.

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-6-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-08-15 17:03:38 -03:00
..
Perf-Trace-Util perf scripting python: Add ppc64le to audit uname list 2017-08-11 10:42:52 -03:00
bin perf script python: Add support for exporting to sqlite3 2017-08-15 16:37:55 -03:00
call-graph-from-sql.py perf script python: Add support for sqlite3 to call-graph-from-sql.py 2017-08-15 17:03:38 -03:00
check-perf-trace.py perf script: Add callchain to generic and tracepoint events 2014-07-16 17:57:33 -03:00
compaction-times.py perf scripts python: Add new compaction-times script 2015-08-28 14:53:40 -03:00
event_analyzing_sample.py perf script python: Correct handler check and spelling errors 2012-08-09 13:26:19 -03:00
export-to-postgresql.py perf script python: Rename call-graph-from-postgresql.py to call-graph-from-sql.py 2017-08-15 16:38:06 -03:00
export-to-sqlite.py perf script python: Add support for exporting to sqlite3 2017-08-15 16:37:55 -03:00
failed-syscalls-by-pid.py perf script: Add callchain to generic and tracepoint events 2014-07-16 17:57:33 -03:00
futex-contention.py perf script: Add callchain to generic and tracepoint events 2014-07-16 17:57:33 -03:00
intel-pt-events.py perf intel-pt: Add example script for power events and PTWRITE 2017-06-30 11:50:53 -03:00
net_dropmonitor.py perf script: Add callchain to generic and tracepoint events 2014-07-16 17:57:33 -03:00
netdev-times.py net: tracepoint napi:napi_poll add work and budget 2016-07-09 18:05:02 -04:00
sched-migration.py perf script: Add callchain to generic and tracepoint events 2014-07-16 17:57:33 -03:00
sctop.py perf script: Add callchain to generic and tracepoint events 2014-07-16 17:57:33 -03:00
stackcollapse.py perf script stackcollapse: Remove reference to the perl interpreter 2016-06-22 09:56:34 -03:00
stat-cpi.py perf script: Add stat-cpi.py script 2016-01-06 20:11:16 -03:00
syscall-counts-by-pid.py perf script: Add callchain to generic and tracepoint events 2014-07-16 17:57:33 -03:00
syscall-counts.py perf script: Add callchain to generic and tracepoint events 2014-07-16 17:57:33 -03:00