aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2024-04-14 09:27:29 -0700
committerSeongJae Park <sj@kernel.org>2024-04-14 09:27:29 -0700
commit790d7e4adf49ee9c54eb2c8001bab47bf1b7474c (patch)
treefa07816ff03351c74be220d98fe863ce3300a5a8
parent15d829f9ad7fffcdaf695ae1d852062105e487cf (diff)
downloaddamo-790d7e4adf49ee9c54eb2c8001bab47bf1b7474c.tar.gz
_damo_records: Remove pipe arguments from RecordingHandle constructor
Signed-off-by: SeongJae Park <sj@kernel.org>
-rw-r--r--_damo_records.py6
-rw-r--r--damo_record.py4
2 files changed, 4 insertions, 6 deletions
diff --git a/_damo_records.py b/_damo_records.py
index a62bce04..1b535c80 100644
--- a/_damo_records.py
+++ b/_damo_records.py
@@ -665,18 +665,16 @@ class RecordingHandle:
mem_footprint_snapshots = None
def __init__(self, tracepoint, file_path, file_format, file_permission,
- monitoring_intervals, perf_pipe,
- do_profile, perf_profile_pipe,
+ monitoring_intervals,
+ do_profile,
kdamonds, poll_add_child_tasks, poll_add_mem_footprint):
self.tracepoint = tracepoint
self.file_path = file_path
self.file_format = file_format
self.file_permission = file_permission
self.monitoring_intervals = monitoring_intervals
- self.perf_pipe = perf_pipe
self.do_profile = do_profile
- self.perf_profile_pipe = perf_profile_pipe
self.kdamonds = kdamonds
self.poll_add_child_tasks = poll_add_child_tasks
diff --git a/damo_record.py b/damo_record.py
index ca1d3f98..15f1dfb5 100644
--- a/damo_record.py
+++ b/damo_record.py
@@ -114,9 +114,9 @@ def main(args):
tracepoint=tracepoint, file_path=args.out,
file_format=args.output_type,
file_permission=args.output_permission,
- monitoring_intervals=monitoring_intervals, perf_pipe=None,
+ monitoring_intervals=monitoring_intervals,
# for perf profile
- do_profile=args.profile is True, perf_profile_pipe=None,
+ do_profile=args.profile is True,
# for childs recording and memory footprint
kdamonds=kdamonds, poll_add_child_tasks=args.include_child_tasks,
poll_add_mem_footprint=args.footprint)