Re: debugctl msr

From: stephane eranian
Date: Fri Nov 21 2008 - 11:33:23 EST


On Fri, Nov 21, 2008 at 5:10 PM, Metzger, Markus T
<markus.t.metzger@xxxxxxxxx> wrote:
>>-----Original Message-----
>>From: stephane eranian [mailto:eranian@xxxxxxxxxxxxxx]
>>Sent: Freitag, 21. November 2008 16:27
>>To: Metzger, Markus T
>>Cc: Markus Metzger; Ingo Molnar; Andi Kleen; Andrew Morton;
>>linux-kernel@xxxxxxxxxxxxxxx
>>Subject: Re: debugctl msr
>
>>The absolute maximum MUST be at buffer+size+1 but the
>>threshold can be anywhere
>>between the start of the buffer and buffer+size. You had it set past
>>the end of the buffer (at +1),
>>therefore PEBS was not generating any interrupts.
>
> The default is cyclic mode, which requires the interrupt threshold
> to be outside of the buffer.
>
That's not what I need.

> A request for interrupt mode should have got you -EOPNOTSUPP.

I did not try that.

>
> Absolute max should be one byte beyond the buffer, which
> is base + size.
>
My bad ;-<
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/