diff options
| -rwxr-xr-x | src/chattyparser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chattyparser.py b/src/chattyparser.py index 1f0242c..7b2de40 100755 --- a/src/chattyparser.py +++ b/src/chattyparser.py @@ -244,7 +244,8 @@ def parse(path="chattymalloc.txt", try: trace = Trace(entry) - context["calls"][trace.func] += 1 + if track_calls: + context["calls"][trace.func] += 1 msg = record_allocation(trace, context) if msg: print(f"entry {i}: {msg}", file=sys.stderr, end="") |
