diff options
author | SeongJae Park <sj38.park@gmail.com> | 2024-03-02 13:26:34 -0800 |
---|---|---|
committer | SeongJae Park <sj38.park@gmail.com> | 2024-03-02 13:26:34 -0800 |
commit | b7c366b0ad9c20bcf730f02be6f5cbeefca0e0a4 (patch) | |
tree | 06e6f73e3ad32af1d9688237891b9ab50eec4e6c | |
parent | ef7983d4d8d6b6ee8bdce567d8da5496a5b71772 (diff) | |
download | damo-b7c366b0ad9c20bcf730f02be6f5cbeefca0e0a4.tar.gz |
_damon_records: Rename set_access_pattern_argparser() to set_filter_argparser()
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
-rw-r--r-- | _damon_records.py | 2 | ||||
-rw-r--r-- | damo_report_profile.py | 2 | ||||
-rw-r--r-- | damo_report_times.py | 2 | ||||
-rw-r--r-- | damo_show.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/_damon_records.py b/_damon_records.py index 5752c786..6295c14d 100644 --- a/_damon_records.py +++ b/_damon_records.py @@ -915,7 +915,7 @@ def parse_sort_addr_ranges_input(addr_ranges_input): return None, 'overlapping range' return ranges, None -def set_access_pattern_argparser(parser): +def set_filter_argparser(parser): parser.add_argument('--sz_region', metavar=('<min>', '<max>'), nargs=2, default=['min', 'max'], help='min/max size of regions (bytes) to show') diff --git a/damo_report_profile.py b/damo_report_profile.py index 5e036efb..9a4545bb 100644 --- a/damo_report_profile.py +++ b/damo_report_profile.py @@ -55,6 +55,6 @@ def set_argparser(parser): parser.add_argument('--inputs', metavar='<file>', nargs=2, default=['damon.data', 'damon.data.profile'], help='access pattern and profile record files') - _damon_records.set_access_pattern_argparser(parser) + _damon_records.set_filter_argparser(parser) parser.description='Show profiling report for specific access pattern' diff --git a/damo_report_times.py b/damo_report_times.py index 0de775d8..1ec6ec63 100644 --- a/damo_report_times.py +++ b/damo_report_times.py @@ -49,6 +49,6 @@ def set_argparser(parser): parser.add_argument('--inputs', metavar='<file>', nargs=2, default=['damon.data', 'damon.data.profile'], help='access pattern and profile record files') - _damon_records.set_access_pattern_argparser(parser) + _damon_records.set_filter_argparser(parser) parser.description='Show times of record having specific access pattern' diff --git a/damo_show.py b/damo_show.py index fc34997b..5a2f3f03 100644 --- a/damo_show.py +++ b/damo_show.py @@ -550,7 +550,7 @@ def set_argparser(parser): _damon_args.set_common_argparser(parser) # what to show - _damon_records.set_access_pattern_argparser(parser) + _damon_records.set_filter_argparser(parser) parser.add_argument('--input_file', metavar='<file>', help='source of the access pattern to show') |