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 | 340 | 'to_sym_offset bigint,' |
| 341 | 341 | 'to_ip bigint,' |
| 342 | 342 | 'branch_type integer,' |
| 343 | − 'in_tx boolean)') | |
| 343 | + 'in_tx boolean,' | |
| 344 | + 'call_path_id bigint)') | |
| 344 | 345 | else: |
| 345 | 346 | do_query(query, 'CREATE TABLE samples (' |
| 346 | 347 | 'id bigint NOT NULL,' |