SWDEV-344206: Fixing Roctracer Tests

Making sure not to count duplicates for load_unload_reload_trace and
fixed the ignore-count option in check_trace.py.

Change-Id: I9e674aa624ec3b473bb7c6cc95260e240204627f
This commit is contained in:
Ammar ELWazir
2022-07-06 03:27:48 -05:00
committed by Ammar Elwazir
parent c2ecd15197
commit c588c49743
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -279,7 +279,8 @@ def gen_events_info(tracefile, trace_level, no_events_cnt, events2ignore, events
if event in events_count:
events_count[event] = events_count[event] + 1
else:
events_count[event] = 1
if not re.search(re_no_events_cnt,event):
events_count[event] = 1
if metric == 'or' and re.search(re_events2chkord,event):
if tid in events_order.keys():