The export does not work if only branches are exported because of a missing column in the samples table. Fix by adding the missing call_path_id.
Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all
Unified · Split
| @@ -340,7 +340,8 @@ if branches: · 339 unmodified lines | |||
| 340 | 'to_sym_offset bigint,' | 340 | 'to_sym_offset bigint,' |
| 341 | 'to_ip bigint,' | 341 | 'to_ip bigint,' |
| 342 | 'branch_type integer,' | 342 | 'branch_type integer,' |
| 343 | 'in_tx boolean)') | 343 | 'in_tx boolean,' |
| 344 | 'call_path_id bigint)') | ||
| 344 | else: | 345 | else: |
| 345 | do_query(query, 'CREATE TABLE samples (' | 346 | do_query(query, 'CREATE TABLE samples (' |
| 346 | 'id bigint NOT NULL,' | 347 | 'id bigint NOT NULL,' |