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 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 wrote before I disable

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 wrote: > On 07/14/2015 04:45 AM, Peter Maydell wrote: > > On 14 July 2015 at 09:32, Shlomo Pongratz > wrote: > >> Hi, > >> > >> I'm running aarm64 QEMU and I'm counting the number of instructions > which > >> "belong" to user space v

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 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 handling, because the

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 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 s

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 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 of the instructio

[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 disa