SWDEV-458196: Fixing PID and TID
Perfetto added more restrictions on the types, so "1" is different from 1 alone, which wasn't the case before. Thats why we are seeing this issue recently
Change-Id: I69835c8f61bb9168fdfcdcd0821c1ba35d0369fe
[ROCm/rocprofiler commit: 9681d0d8de]
This commit is contained in:
@@ -261,6 +261,8 @@ class SQLiteDB:
|
||||
if label != '"Index"':
|
||||
if label == '"dur"' and value == 0:
|
||||
vals_list.append('%s:"%s"' % (label, "1"))
|
||||
elif label == '"pid"' or label == '"tid"':
|
||||
vals_list.append('%s:%d' % (label, value))
|
||||
else:
|
||||
vals_list.append('%s:"%s"' % (label, value))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user