diff options
author | Jani Nikula <jani.nikula@intel.com> | 2018-11-20 06:14:08 -0500 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2018-11-20 06:14:08 -0500 |
commit | 2ac5e38ea4203852d6e99edd3cf11f044b0a409f (patch) | |
tree | 1ef02da98d56309368ad2b6a4e492bafe5bb4faf /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f48cc647f3e196a3179d695d3c2d56c13e9dec98 (diff) | |
parent | 9235dd441af43599b9cdcce599a3da4083fcad3c (diff) |
Merge drm/drm-next into drm-intel-next-queued
Pull in v4.20-rc3 via drm-next.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
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 | |||
40 | # sqlite> .quit | 40 | # sqlite> .quit |
41 | # | 41 | # |
42 | # An example of using the database is provided by the script | 42 | # An example of using the database is provided by the script |
43 | # call-graph-from-sql.py. Refer to that script for details. | 43 | # exported-sql-viewer.py. Refer to that script for details. |
44 | # | 44 | # |
45 | # The database structure is practically the same as created by the script | 45 | # The database structure is practically the same as created by the script |
46 | # export-to-postgresql.py. Refer to that script for details. A notable | 46 | # export-to-postgresql.py. Refer to that script for details. A notable |
@@ -440,7 +440,11 @@ def branch_type_table(*x): | |||
440 | 440 | ||
441 | def sample_table(*x): | 441 | def sample_table(*x): |
442 | if branches: | 442 | if branches: |
443 | bind_exec(sample_query, 18, x) | 443 | for xx in x[0:15]: |
444 | sample_query.addBindValue(str(xx)) | ||
445 | for xx in x[19:22]: | ||
446 | sample_query.addBindValue(str(xx)) | ||
447 | do_query_(sample_query) | ||
444 | else: | 448 | else: |
445 | bind_exec(sample_query, 22, x) | 449 | bind_exec(sample_query, 22, x) |
446 | 450 | ||