Skip to content

Commit 14c51eb

Browse files
committed
Python: CG trace: XML exporter will tell what file it wrote to
1 parent c45cc2a commit 14c51eb

File tree

1 file changed

+2
-0
lines changed
  • python/tools/recorded-call-graph-metrics/src/cg_trace

1 file changed

+2
-0
lines changed

python/tools/recorded-call-graph-metrics/src/cg_trace/exporter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ def export(outfile_path, recorded_calls, info: Dict[str, str]):
4242

4343
tree = etree.ElementTree(root)
4444
tree.write(outfile_path, encoding="utf-8", pretty_print=True)
45+
46+
print(f"Wrote {len(recorded_calls)} recorded calls to {outfile_path}")

0 commit comments

Comments
 (0)