diff options
| author | Ingo Molnar <mingo@kernel.org> | 2018-10-09 01:21:19 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2018-10-09 01:21:19 -0400 |
| commit | 6364cb2218348cd5fba975e1ab5b7f37dee9adc4 (patch) | |
| tree | eab939eecff51b51f0c4a67aedc9447447f1a2fe /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 7c5314b88da6d5af98239786772a1c44cc5eb67d (diff) | |
| parent | c1883f10cfe05c707cce46d6999411c50a2413ca (diff) | |
Merge branch 'perf/urgent' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
| -rw-r--r-- | tools/perf/scripts/python/export-to-sqlite.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/export-to-sqlite.py b/tools/perf/scripts/python/export-to-sqlite.py index f827bf77e9d2..e4bb82c8aba9 100644 --- a/tools/perf/scripts/python/export-to-sqlite.py +++ b/tools/perf/scripts/python/export-to-sqlite.py | |||
| @@ -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 | ||
