[Qemu-devel] need help about trace reconstruction

2017-04-17 Thread oussema ben khedher via Qemu-devel
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 th

[Qemu-devel] about get approximative time of execution

2017-04-06 Thread oussema ben khedher via Qemu-devel
im working in the reconstitution of execution trace informations of the guest processor in qemu and i need an approximative time of execution of every  translation block by the guest processor . can you give me some hints about that ? thank you

[Qemu-devel] need help

2017-03-15 Thread oussema ben khedher
hi i m using the log in_asm to get the assembly code of TB so when i searched inside qemu i find that the function "log_target_disas its the responsible to display assembly instruction but the problem that i did not find how really it works because i need to get all the branch address  thank you

[Qemu-devel] about trace Translation blocks

2017-03-15 Thread oussema ben khedher
hi  im trying to trace Translation bloks and i guess that this function its the responsible for print the trace informations  qemu_log_mask_and_addr(CPU_LOG_EXEC, itb->pc, "Trace %p [%d: " TARGET_FMT_lx "] %s\n", itb->tc_ptr, cpu->cpu_index, itb->pc, lookup_symbol(itb->pc)); but really i didn't u

[Qemu-devel] about trace TB

2017-03-15 Thread oussema ben khedher
hi 

[Qemu-devel] searching the function that really execute tb

2017-03-14 Thread oussema ben khedher
Im using the gdbserver to  know what qemu exactly doing..in theory i find that cpu_tb_exec () is the function that execute TB but when i put a break point in this function the qemu did not stop..this have relation with the inline function or not

[Qemu-devel] join irc chanel

2017-03-14 Thread oussema ben khedher
hi i have a problem when i try to join IRC channel #qemu can someone help ?  

[Qemu-devel] about branch instruction

2017-03-13 Thread oussema ben khedher
hi i want to know where the translation of branch instruction (arm) to tcg code is located  thanks

[Qemu-devel] how to enable trace

2017-03-13 Thread oussema ben khedher
i used simple trace back end to trace guest code running in qemu but when i tried to recompile and disable this trace i have always this problem  undefined reference to `trace_record_write_u64' thanks for your help 

[Qemu-devel] about restore the pc of the guest code

2017-03-09 Thread oussema ben khedher
hi i search the pc of tb in the guest code i used the function cpu_restore_state_from_tb in cpu_exec_tb but the searching pc take 0 value can someone explain me why searching_pc is 0 or give me some hints thanks

[Qemu-devel] adress of tb

2017-03-01 Thread oussema ben khedher
| favorite | am trying to find the translation block adress of QEMU . And I have a question about the adress pointer of translation block . void gen_intermediate_code(CPUARMState *env, TranslationBlock *tb) it is the address of the last translation block found in the cache or that will be trans

[Qemu-devel] need help

2017-03-01 Thread oussema ben khedher
I am trying to understand the block chaining of QEMU. And I have a question about the branch direction of each executed TBs. Suppose the TB#1 has been executed now, and find the next_tb (TB#2). Then we know the direction is TB#1--->TB#2 and store the chain in code cache for speedup the executio

[Qemu-devel] adress of translation block

2017-03-01 Thread oussema ben khedher
hi  i need help because im really blocked in my educational project  my problem is i how can i find the adress of the  instruction of the end of translation block in qemu (usually it's branch instruction) or the adress of the translation block  your advice will be very helpful for me  .thanks

[Qemu-devel] need help about adress of translation block

2017-02-28 Thread oussema ben khedher
hi  hi  i need help because im really blocked in my educational project  my problem is i how can i find the adress of the  instruction of the end of translation block in qemu (usually it's branch instruction) or the adress of the translation block  your advice will be very helpful for me  .thanks

[Qemu-devel] about translation block

2017-02-16 Thread oussema ben khedher
hi  im using qemu and i run in it a sample application of addition.c that do a+b=c  in order to implement a trace for the code execution od addition.c  i want to get adresses of transaltion block  thank you for the help   

[Qemu-devel] question about binary translation on qemu

2017-02-07 Thread oussema ben khedher
hi  in my academic project i needed to know how qemu exactly translate an arm instruction to the host assembly (in my case x86) so if you can help me to know the function in the source code of qemu that tdo this work  thank you

[Qemu-devel] qustion about qemu translation

2017-02-07 Thread oussema ben khedher
hi 

[Qemu-devel] need help

2017-01-26 Thread oussema ben khedher
hello im an engineer student and im working in my educational project implementation of hardware tinstructions trace in qemu i don't know where i can implement it in qemu thanks

[Qemu-devel] need help

2017-01-24 Thread oussema ben khedher
hi im an embedded systems engineer and i need help for my educational project implementation of inqstruction trace on qemu  can you help me by documentation or advices ?