SWDEV-332635: Fixing the effect of roctx-rename feature
HIP/HSA traces were asked to access range_data list, however, it was not initialized because roctx tracing was not enabled, moved lists initialization before roctx check Change-Id: I9942876445cb1b2f69c6bb0d8986d6d9234f1441
This commit is contained in:
+2
-2
@@ -263,12 +263,12 @@ def fill_ext_db(table_name, db, indir, trace_name, api_pid):
|
||||
# tms pid:tid cid:rid:'.....'
|
||||
ptrn_val = re.compile(r'(\d+) (\d+):(\d+) (\d+):(\d+):"(.*)"$')
|
||||
|
||||
if not os.path.isfile(file_name): return 0
|
||||
|
||||
range_data = {}
|
||||
range_stack = {}
|
||||
range_map = {}
|
||||
|
||||
if not os.path.isfile(file_name): return 0
|
||||
|
||||
record_id = 0
|
||||
table_handle = db.add_table(table_name, ext_table_descr)
|
||||
with open(file_name, mode='r') as fd:
|
||||
|
||||
Reference in New Issue
Block a user