diff --git a/projects/rocprofiler/plugin/att/att.py b/projects/rocprofiler/plugin/att/att.py index 738bba871d..69495bddf3 100755 --- a/projects/rocprofiler/plugin/att/att.py +++ b/projects/rocprofiler/plugin/att/att.py @@ -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 diff --git a/projects/rocprofiler/plugin/att/stitch.py b/projects/rocprofiler/plugin/att/stitch.py index cc558b5fe0..7891ea116e 100644 --- a/projects/rocprofiler/plugin/att/stitch.py +++ b/projects/rocprofiler/plugin/att/stitch.py @@ -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