摘要 |
The invention relates to a method, a computer system, and a computer program product for automatically generating a trace data set for a software system on a computer system, wherein the method comprising steps of: providing a software system comprising a source code, providing a binary code by compiling the source code, wherein the step of compiling comprises a step of inserting a plurality of tracing instructions into the binary code, each of the tracing instructions configured to initiate trace data generation during runtime of the software system, providing a modified binary code by modifying the binary code, wherein the step of modifying comprises a step of replacing at least one tracing instruction of the plurality of tracing instructions with a neutral instruction, and running the modified binary code, wherein the step of running comprises steps of activating trace data generation by re-replacing the neutral instruction with the at least one tracing instruction, and recording a trace data set, the step of recording being initiated by the at least one tracing instruction. |