diff options
author | Tony Lindgren <tony@atomide.com> | 2018-11-08 09:32:24 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-11-08 09:32:24 -0800 |
commit | 91e43395820baad80248987608216c35da9df65b (patch) | |
tree | 29d41d1a036eb1abd6a60f16ad37aa578acd8159 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | eef3dc34a1e0b01d53328b88c25237bcc7323777 (diff) | |
parent | cec83ff1241ec98113a19385ea9e9cfa9aa4125b (diff) |
Merge branch 'fixes-dts' into omap-for-v4.20/fixes
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
-rw-r--r-- | tools/perf/scripts/python/export-to-sqlite.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/perf/scripts/python/export-to-sqlite.py b/tools/perf/scripts/python/export-to-sqlite.py index f827bf77e9d2..245caf2643ed 100644 --- a/tools/perf/scripts/python/export-to-sqlite.py +++ b/tools/perf/scripts/python/export-to-sqlite.py @@ -40,7 +40,7 @@ import datetime # sqlite> .quit # # An example of using the database is provided by the script -# call-graph-from-sql.py. Refer to that script for details. +# exported-sql-viewer.py. Refer to that script for details. # # The database structure is practically the same as created by the script # export-to-postgresql.py. Refer to that script for details. A notable @@ -440,7 +440,11 @@ def branch_type_table(*x): def sample_table(*x): if branches: - bind_exec(sample_query, 18, x) + for xx in x[0:15]: + sample_query.addBindValue(str(xx)) + for xx in x[19:22]: + sample_query.addBindValue(str(xx)) + do_query_(sample_query) else: bind_exec(sample_query, 22, x) |