On Mon, Apr 20, 2009 at 7:59 PM, Nagy Mostafa <nagy.most...@gmail.com> wrote:
> Hi,
> JK -- Yes, they are not compatible but still they shouldn't contradict each
> other.
> I realized I am missing the "-u" flag later on. I mistakenly thought "-k"
> means kernel + user mode. What still puzzles me is that although I was
> sampling in kernel mode only, I still got samples in the user-code. That's
> what made me make my wrong assumption. Any idea why ?
> [...]
>            6   0.39%  86.79% 0xffffffff802be670 generic_permission<kernel>
>            6   0.39%  87.18% 0xffffffff802965d0 __inc_zone_state<kernel>
>      >>>   6   0.39%  87.57% 0x000000000048fee0
> PyEval_EvalFrameEx</usr/local/bin/python>

That is not unexpected due to skid. The instruction of which the
counter overflows is not
the one for which you get the IP. It can be several instr or cycles
away, so if you are borderline
with user/kernel, you can get an IP in the other part of the address space.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to