On Mon, Feb 8, 2010 at 5:30 PM, Peter Zijlstra wrote:
> On Mon, 2010-02-08 at 17:06 +0200, Stephane Eranian wrote:
>> In certain situations, the kernel may need to stop and start the
>> same event rapidly. The current PMU callbacks do not distinguish
>> between stop and release
On Mon, 2010-02-08 at 17:06 +0200, Stephane Eranian wrote:
> In certain situations, the kernel may need to stop and start the
> same event rapidly. The current PMU callbacks do not distinguish
> between stop and release (i.e., stop + free the resource). Thus,
> a counter ma
This patch adds correct AMD Northbridge event scheduling.
It must be applied on top tip-x86 + hw_perf_enable() fix.
NB events are events measuring L3 cache, Hypertransport
traffic. They are identified by an event code >= 0xe0.
They measure events on the Nor
In certain situations, the kernel may need to stop and start the
same event rapidly. The current PMU callbacks do not distinguish
between stop and release (i.e., stop + free the resource). Thus,
a counter may be released, then it will be immediately re-acquired.
On Intel Core, Nehalem, Atom, there are multiple events to count
elapsed cycles:
- unhalted_core_cycles: elapsed cycles, correlation to time not
maintained with time when frequency scaling operates
- unhalted_reference_cycles: elasped cycles, correlation
On Mon, Feb 8, 2010 at 10:44 AM, J K Rai wrote:
>> > I use perfmon2 with linux-2.6.30, libpfm-3.9 on intel
>> xeon x5482.
>> >
>> > I am trying to get asynchronous overflow notification
>> (instrn retired) in my controlling process, (for child
>> process ls) by doing fcntl on perfmon2 context fd.
> > I use perfmon2 with linux-2.6.30, libpfm-3.9 on intel
> xeon x5482.
> >
> > I am trying to get asynchronous overflow notification
> (instrn retired) in my controlling process, (for child
> process ls) by doing fcntl on perfmon2 context fd. (sampling
> period = 1000)
> >
> > I do standard signal
On Thu, Feb 4, 2010 at 1:45 PM, J K Rai wrote:
> Hi
>
> I use perfmon2 with linux-2.6.30, libpfm-3.9 on intel xeon x5482.
>
> I am trying to get asynchronous overflow notification (instrn retired) in my
> controlling process, (for child process ls) by doing fcntl on perfmon2
> context fd. (sampl