Store call graph in file 'file_name'.
(self, file_name)
| 315 | self.funcs[funcname[1:]].add(self.current_caller) |
| 316 | |
| 317 | def to_file(self, file_name): |
| 318 | """Store call graph in file 'file_name'.""" |
| 319 | log(f"Writing serialized callgraph to {file_name}") |
| 320 | with open(file_name, 'wb') as f: |
| 321 | pickle.dump(self, f) |
| 322 | |
| 323 | @staticmethod |
| 324 | def from_file(file_name): |