aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2018-10-09 05:21:19 +0000
committerIngo Molnar <[email protected]>2018-10-09 05:21:19 +0000
commit6364cb2218348cd5fba975e1ab5b7f37dee9adc4 (patch)
treeeab939eecff51b51f0c4a67aedc9447447f1a2fe /tools/perf/scripts/python/export-to-sqlite.py
parentperf/x86/intel: Add quirk for Goldmont Plus (diff)
parentMerge tag 'perf-urgent-for-mingo-4.19-20181005' of git://git.kernel.org/pub/s... (diff)
downloadkernel-6364cb2218348cd5fba975e1ab5b7f37dee9adc4.tar.gz
kernel-6364cb2218348cd5fba975e1ab5b7f37dee9adc4.zip
Merge branch 'perf/urgent' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
-rw-r--r--tools/perf/scripts/python/export-to-sqlite.py6
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):
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)