Skip to contentSkip to conversation

need help about trace reconstruction

Qemu-devel oussema ben khedher 2 participants 2 messages Apr 17, 2017 – May 2, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

hi
 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

#2 lore raw
Quoted 3 lines · oussema ben khedher via Qemu-devel

 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