diff options
author | Tony Lindgren <tony@atomide.com> | 2018-11-08 09:57:42 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-11-08 09:57:42 -0800 |
commit | 07fa3fa2572f2dee85beb8137f90ccf33d7206af (patch) | |
tree | 0cec1fca7425cd6c423c53c4581ea2a9776ed411 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4ed0dfe3cf39a97cd0ed532212b5e55e9752fe3f (diff) | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) |
Merge tag 'v4.20-rc1' into omap-for-v4.21/dt-ti-sysc
Linux 4.20-rc1
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) |