SWDEV-443217: Fixing stitch.py for PCINFO and enabling filemode in att.py
Change-Id: I85744bc9610f9f224d1ce7bb5d5232ff36fc5f6e
[ROCm/rocprofiler commit: c7946c4f26]
Tento commit je obsažen v:
@@ -552,8 +552,7 @@ if __name__ == "__main__":
|
||||
if gfxv is None:
|
||||
continue
|
||||
if CSV_MODE == False and ftrace == 0:
|
||||
print('Error: Only CSV mode is available for this version')
|
||||
assert False
|
||||
print('Generating occupancy information')
|
||||
|
||||
for id, addr in enumerate(addrs):
|
||||
kernel_addr[id] = addr
|
||||
|
||||
@@ -334,7 +334,6 @@ def stitch(insts, raw_code, jumps, gfxv, bIsAuto, codeservice):
|
||||
if bIsAuto:
|
||||
try:
|
||||
firstinst = insts[0]
|
||||
insts = insts[1:]
|
||||
|
||||
if firstinst.type != PCINFO:
|
||||
print('Warning: Waves without PCINFO')
|
||||
@@ -347,7 +346,6 @@ def stitch(insts, raw_code, jumps, gfxv, bIsAuto, codeservice):
|
||||
watchlist.addsymbol(firstinst.cycles)
|
||||
line = firstinst.cycles
|
||||
lineincrement = watchlist.getincrement(line)
|
||||
pcskip.append(0)
|
||||
except KeyError as e:
|
||||
print('Auto error invalid addr', hex(e.args[0]))
|
||||
return None
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele