diff options
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
-rw-r--r-- | tools/perf/scripts/python/export-to-sqlite.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/export-to-sqlite.py b/tools/perf/scripts/python/export-to-sqlite.py index 97aa66dd2fe1..9156f6a1e5f0 100644 --- a/tools/perf/scripts/python/export-to-sqlite.py +++ b/tools/perf/scripts/python/export-to-sqlite.py | |||
@@ -606,6 +606,8 @@ def trace_end(): | |||
606 | if perf_db_export_calls: | 606 | if perf_db_export_calls: |
607 | do_query(query, 'CREATE INDEX pcpid_idx ON calls (parent_call_path_id)') | 607 | do_query(query, 'CREATE INDEX pcpid_idx ON calls (parent_call_path_id)') |
608 | do_query(query, 'CREATE INDEX pid_idx ON calls (parent_id)') | 608 | do_query(query, 'CREATE INDEX pid_idx ON calls (parent_id)') |
609 | do_query(query, 'ALTER TABLE comms ADD has_calls boolean') | ||
610 | do_query(query, 'UPDATE comms SET has_calls = 1 WHERE comms.id IN (SELECT DISTINCT comm_id FROM calls)') | ||
609 | 611 | ||
610 | printdate("Dropping unused tables") | 612 | printdate("Dropping unused tables") |
611 | if is_table_empty("ptwrite"): | 613 | if is_table_empty("ptwrite"): |