Re: [Qemu-devel] User space vs kernel space instructions distribution.

2015-07-23 Thread Shlomo Pongratz
See inline On Wednesday, July 22, 2015, Christopher Covington c...@codeaurora.org wrote: On 07/14/2015 04:45 AM, Peter Maydell wrote: On 14 July 2015 at 09:32, Shlomo Pongratz shlomopongr...@gmail.com javascript:; wrote: Hi, I'm running aarm64 QEMU and I'm counting the number of

Re: [Qemu-devel] User space vs kernel space instructions distribution.

2015-07-23 Thread Peter Maydell
On 23 July 2015 at 08:57, Shlomo Pongratz shlomopongr...@gmail.com wrote: I have an array of the three address spaces user/unmapped/kernel and array of 4 els and I'm add the TB's icount to the appropriate entry according to the env-pc and arm_current_el(env) before the block execution. As I

Re: [Qemu-devel] User space vs kernel space instructions distribution.

2015-07-22 Thread Christopher Covington
On 07/14/2015 04:45 AM, Peter Maydell wrote: On 14 July 2015 at 09:32, Shlomo Pongratz shlomopongr...@gmail.com wrote: Hi, I'm running aarm64 QEMU and I'm counting the number of instructions which belong to user space vs kernel space. My measurements shows that 99 percent of instructions are

Re: [Qemu-devel] User space vs kernel space instructions distribution.

2015-07-22 Thread Peter Maydell
On 22 July 2015 at 17:45, Christopher Covington c...@codeaurora.org wrote: On 07/14/2015 04:45 AM, Peter Maydell wrote: If your measurement instrumentation is intrusive and is significantly slowing down QEMU then you'll naturally find that the guest spends more time in timer interrupt

[Qemu-devel] User space vs kernel space instructions distribution.

2015-07-14 Thread Shlomo Pongratz
Hi, I'm running aarm64 QEMU and I'm counting the number of instructions which belong to user space vs kernel space. My measurements shows that 99 percent of instructions are in kernel space. I've used both the address of the instructions and the EL just to be sure. I also added an option to

Re: [Qemu-devel] User space vs kernel space instructions distribution.

2015-07-14 Thread Peter Maydell
On 14 July 2015 at 09:32, Shlomo Pongratz shlomopongr...@gmail.com wrote: Hi, I'm running aarm64 QEMU and I'm counting the number of instructions which belong to user space vs kernel space. My measurements shows that 99 percent of instructions are in kernel space. I've used both the address