Abstract:
Prozessortracesysteme und Verfahren sind beschrieben. Zum Beispiel weist eine Ausführungsform ein Durchführen von instrumentiertem Code durch einen Compiler auf, wobei der instrumentierte Code mindestens einen Anruf zu nichtinstrumentiertem Code enthält. Der Compiler kann ermitteln, dass der mindestens eine Anruf zu nichtinstrumentiertem Code ein nächster durchzuführender Anruf ist. Ein Tracingfortsetzungsbefehl kann vor dem mindestens einen Anruf zum nichtinstrumentierten Code in den instrumentierten Code eingefügt werden. Der Tracingfortsetzungsbefehl kann durchgeführt werden, um selektiv Prozessortracing zum mindestens einen Anruf zum nichtinstrumentierten Code hinzuzufügen und der mindestens eine Anruf zum nichtinstrumentierten Code kann durchgeführt werden.
Abstract:
In accordance with embodiments disclosed herein, there is provided systems and methods for tracking the mode of processing devices in an instruction tracing system. The method may include receiving an indication of a change in a current execution mode of the processing device. The method may also include determining that the current execution mode of the received indication is different than a value of an execution mode of a first execution mode (EM) packet previously-generated by the IT module. The method may also include generating, based on the determining that the current execution mode is different, a second EM packet that provides a value of the current execution mode of the processing device to indicate the change in the execution mode for an instruction in a trace generated by the IT module. The method may further include generating transactional memory (TMX) packets having n bit mode pattern in the packet log. The n is at least two and the n bit mode indicates transaction status of the TMX operation.