On Mon, Apr 17, 2017 at 09:27:27AM +0000, oussema ben khedher via Qemu-devel wrote: >  i m comparing the trace of execution of reconstruction of trace instruction of a code running in real board and the trace of  the same code running in qemu .. > and i found that there is some function not called in the reconstruction of qemu trace .. > i guess that qemu do some optimization or there is another raison for that It's very hard to answer without details on how you traced execution and seeing the actual trace data. QEMU is a functional simulator. The effects of running the guest code should be identical although the timing may not be. The guest code may also be affected by environment or hardware differences, causing it to take different code paths. Stefan