diff options
author | SeongJae Park <sj@kernel.org> | 2024-04-14 09:25:19 -0700 |
---|---|---|
committer | SeongJae Park <sj@kernel.org> | 2024-04-14 09:25:19 -0700 |
commit | 6139d2cacbe2eee71bde5570bbc6d0a5c47f477a (patch) | |
tree | d5a746b70fe57d516fd00a863189f05fd88ec4f4 | |
parent | 46b5d91455a0a03580129c6d751f9003eeda5147 (diff) | |
download | damo-6139d2cacbe2eee71bde5570bbc6d0a5c47f477a.tar.gz |
_damo_records(): Rename start_recording_v2() to start_recording()
Signed-off-by: SeongJae Park <sj@kernel.org>
-rw-r--r-- | _damo_records.py | 2 | ||||
-rw-r--r-- | damo_record.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_damo_records.py b/_damo_records.py index 78728a3a..285c34e9 100644 --- a/_damo_records.py +++ b/_damo_records.py @@ -683,7 +683,7 @@ class RecordingHandle: if poll_add_mem_footprint is True: self.mem_footprint_snapshots = [] -def start_recording_v2(handle): +def start_recording(handle): if handle.tracepoint is not None: handle.perf_pipe = subprocess.Popen( [PERF, 'record', '-a', '-e', handle.tracepoint, diff --git a/damo_record.py b/damo_record.py index d2840979..ca1d3f98 100644 --- a/damo_record.py +++ b/damo_record.py @@ -123,7 +123,7 @@ def main(args): data_for_cleanup.record_handle = record_handle print('Press Ctrl+C to stop') - _damo_records.start_recording_v2(record_handle) + _damo_records.start_recording(record_handle) cleanup_exit(0) def set_argparser(parser): |