aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeongJae Park <sj38.park@gmail.com>2024-04-06 10:25:43 -0700
committerSeongJae Park <sj38.park@gmail.com>2024-04-06 10:25:43 -0700
commitfb0472fd863817feb949c80540b73e818f19693c (patch)
tree37de45a58be419e009a76c6c8ea00fad138bf89a
parent1349ffdc40f9d642b2e9100e5a9262265016b5eb (diff)
downloaddamo-fb0472fd863817feb949c80540b73e818f19693c.tar.gz
damo_record: Remove unnecessary memory footprint snapshot in cleanup data
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
-rw-r--r--damo_record.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/damo_record.py b/damo_record.py
index 16411c5c..242ad527 100644
--- a/damo_record.py
+++ b/damo_record.py
@@ -18,7 +18,6 @@ class DataForCleanup:
kdamonds_idxs = None
orig_kdamonds = None
record_handle = None
- footprint_snapshots = None
data_for_cleanup = DataForCleanup()
@@ -115,9 +114,6 @@ def main(args):
profile=args.profile is True, profile_target_pid=None,
kdamonds=kdamonds, poll_add_child_tasks=args.include_child_tasks,
poll_add_mem_footprint=args.footprint)
- if args.footprint is True:
- footprint_snapshots = []
- data_for_cleanup.footprint_snapshots = footprint_snapshots
print('Press Ctrl+C to stop')
if _damon_args.self_started_target(args):