aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeongJae Park <sj38.park@gmail.com>2024-03-03 10:17:08 -0800
committerSeongJae Park <sj38.park@gmail.com>2024-03-03 10:17:08 -0800
commitbcac97257a914487eb23f6aeb43a6e2c1504fae5 (patch)
tree5311fc33058161d9c5cc2ff1364ae83a5635d512
parent1a85dbb3d6cecb50059ee8c9eeb536f20e1b2693 (diff)
downloaddamo-bcac97257a914487eb23f6aeb43a6e2c1504fae5.tar.gz
damo_show: Provide field name to get_records()
Now all get_records() users are providing field names. Signed-off-by: SeongJae Park <sj38.park@gmail.com>
-rw-r--r--damo_show.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/damo_show.py b/damo_show.py
index 40ce0da4..a7f35ceb 100644
--- a/damo_show.py
+++ b/damo_show.py
@@ -521,9 +521,10 @@ def main(args):
_damon.ensure_root_and_initialized(args, load_feature_supports=True)
records, err = _damon_records.get_records(
- args.tried_regions_of, args.input_file,
- access_pattern, addr_range,
- args.total_sz_only, args.dont_merge_regions)
+ tried_regions_of=args.tried_regions_of,
+ record_file=args.input_file, access_pattern=access_pattern,
+ address_ranges=addr_range, total_sz_only=args.total_sz_only,
+ dont_merge_regions=args.dont_merge_regions)
if err != None:
print(err)
exit(1)