Juan,
Found the problem. It is in the example.
The reason you ceased to get notification is because the notification
queue is full.
For each notification a message is enqueued. When you get the notification, you
need to extract that message via a read(). So I think all that is
missing in your
prog
Juan,
I am able to reproduce the problem with a modified mont_dear.c. There
it stops after the
8th notification. This is quite strange given this is all self
monitoring. Let me investigate.
I also want to verify if this is IA-64 specific or not.
On Thu, May 14, 2009 at 11:49 AM, Juan Angel Loren
Hi,
El mié, 13-05-2009 a las 14:11 +0200, stephane eranian escribió:
>
> > The number of notifications is the number of times the sampling buffer
> > overflowed, isn't it? So why does it look limited to 31? I mean, even if
>
> Yes, assuming your resume monitoring() via pfm_restart() at the end
Hi,
On Wed, May 13, 2009 at 11:21 AM, Juan Angel Lorenzo
wrote:
> Hi Eranian,
>
> Thanks for your quick reply. Reading your comments they make me think
> that perhaps I have a mistaken idea of how the sampling buffer works.
> Correct me if I'm wrong but I understood that, when an EAR overflows
E
Hi Eranian,
Thanks for your quick reply. Reading your comments they make me think
that perhaps I have a mistaken idea of how the sampling buffer works.
Correct me if I'm wrong but I understood that, when an EAR overflows
(and it'll do it sooner or later depending on the sampling period and
the num
Juan,
2009/5/12 Juan Ángel Lorenzo :
> Hi all,
>
> I've been doing some tests with the "mont_dear.c" example from the
> old_interface_ia64_examples directory and I've noticed a strange behaviour
> when sampling. I modified the ctx.buf_arg.buf_size variable from the initial
> value (getpagesize())
Hi all,
I've been doing some tests with the "mont_dear.c" example from the
old_interface_ia64_examples directory and I've noticed a strange behaviour
when sampling. I modified the ctx.buf_arg.buf_size variable from the initial
value (getpagesize()) to the minimum value I was allowed (1024) and I t