<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm/kernel/perf_event.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-11-07T16:12:38Z</updated>
<entry>
<title>ARM: 6469/1: perf-events: squash compiler warning</title>
<updated>2010-11-07T16:12:38Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2010-11-04T17:23:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3b291d98878a5f25fee56255bcfa420e85dff59'/>
<id>urn:sha1:c3b291d98878a5f25fee56255bcfa420e85dff59</id>
<content type='text'>
armv7_pmnc_counter_has_overflowed can return uninitialised data
if an invalid counter is specified.

This patch fixes the code to return 0 in this case, which squashes
the compiler warning from GCC 4.5.

Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>irq_work: Add generic hardirq context callbacks</title>
<updated>2010-10-18T17:58:50Z</updated>
<author>
<name>Peter Zijlstra</name>
</author>
<published>2010-10-14T06:01:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e360adbe29241a0194e10e20595360dd7b98a2b3'/>
<id>urn:sha1:e360adbe29241a0194e10e20595360dd7b98a2b3</id>
<content type='text'>
Provide a mechanism that allows running code in IRQ context. It is
most useful for NMI code that needs to interact with the rest of the
system -- like wakeup a task to drain buffers.

Perf currently has such a mechanism, so extract that and provide it as
a generic feature, independent of perf so that others may also
benefit.

The IRQ context callback is generated through self-IPIs where
possible, or on architectures like powerpc the decrementer (the
built-in timer facility) is set to generate an interrupt immediately.

Architectures that don't have anything like this get to do with a
callback from the timer tick. These architectures can call
irq_work_run() at the tail of any IRQ handlers that might enqueue such
work (like the perf IRQ handler) to avoid undue latencies in
processing the work.

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Acked-by: Kyle McMartin &lt;kyle@mcmartin.ca&gt;
Acked-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
[ various fixes ]
Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
LKML-Reference: &lt;1287036094.7768.291.camel@yhuang-dev&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>Merge remote branch 'tip/perf/core' into oprofile/core</title>
<updated>2010-10-15T10:45:00Z</updated>
<author>
<name>Robert Richter</name>
</author>
<published>2010-10-15T10:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6268464b370e234e0255330190f9bd5d19386ad7'/>
<id>urn:sha1:6268464b370e234e0255330190f9bd5d19386ad7</id>
<content type='text'>
Conflicts:
	arch/arm/oprofile/common.c
	kernel/perf_event.c
</content>
</entry>
<entry>
<title>perf, ARM: Fix sysfs bits removal build failure</title>
<updated>2010-10-14T06:09:42Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2010-10-14T06:09:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1efeb08d7dd32c0fbd4b784ea9303b53d345bfd0'/>
<id>urn:sha1:1efeb08d7dd32c0fbd4b784ea9303b53d345bfd0</id>
<content type='text'>
Fix this linux-next build failure that Stephen reported:

 arch/arm/kernel/perf_event.c: In function 'armpmu_event_init':
 arch/arm/kernel/perf_event.c:543: error: request for member 'num_events' in something not a structure or union

Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Cc: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Cc: paulus &lt;paulus@samba.org&gt;
LKML-Reference: &lt;20101014164925.4fa16b75.sfr@canb.auug.org.au&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>Merge branch 'oprofile/urgent' (early part) into oprofile/perf</title>
<updated>2010-10-11T17:26:50Z</updated>
<author>
<name>Robert Richter</name>
</author>
<published>2010-10-11T17:26:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad0f7cfaa85fc033523a09ab1f3dd6b8ded3dff5'/>
<id>urn:sha1:ad0f7cfaa85fc033523a09ab1f3dd6b8ded3dff5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>perf: Add helper function to return number of counters</title>
<updated>2010-10-11T08:38:13Z</updated>
<author>
<name>Matt Fleming</name>
</author>
<published>2010-09-27T19:22:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3bf101ba42a1c89b5afbc7492e7647dae5e18735'/>
<id>urn:sha1:3bf101ba42a1c89b5afbc7492e7647dae5e18735</id>
<content type='text'>
The number of counters for the registered pmu is needed in a few places
so provide a helper function that returns this number.

Signed-off-by: Matt Fleming &lt;matt@console-pimps.org&gt;
Tested-by: Will Deacon &lt;will.deacon@arm.com&gt;
Acked-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
Acked-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Signed-off-by: Robert Richter &lt;robert.richter@amd.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core</title>
<updated>2010-09-15T08:27:31Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2010-09-15T08:27:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3aabae7d9dfaed60effe93662f02c19bafc18537'/>
<id>urn:sha1:3aabae7d9dfaed60effe93662f02c19bafc18537</id>
<content type='text'>
</content>
</entry>
<entry>
<title>perf: Remove the sysfs bits</title>
<updated>2010-09-09T18:46:31Z</updated>
<author>
<name>Peter Zijlstra</name>
</author>
<published>2010-09-06T13:51:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=15ac9a395a753cb28c674e7ea80386ffdff21785'/>
<id>urn:sha1:15ac9a395a753cb28c674e7ea80386ffdff21785</id>
<content type='text'>
Neither the overcommit nor the reservation sysfs parameter were
actually working, remove them as they'll only get in the way.

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Cc: paulus &lt;paulus@samba.org&gt;
LKML-Reference: &lt;new-submission&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>perf: Rework the PMU methods</title>
<updated>2010-09-09T18:46:30Z</updated>
<author>
<name>Peter Zijlstra</name>
</author>
<published>2010-06-16T12:37:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4eaf7f14675cb512d69f0c928055e73d0c6d252'/>
<id>urn:sha1:a4eaf7f14675cb512d69f0c928055e73d0c6d252</id>
<content type='text'>
Replace pmu::{enable,disable,start,stop,unthrottle} with
pmu::{add,del,start,stop}, all of which take a flags argument.

The new interface extends the capability to stop a counter while
keeping it scheduled on the PMU. We replace the throttled state with
the generic stopped state.

This also allows us to efficiently stop/start counters over certain
code paths (like IRQ handlers).

It also allows scheduling a counter without it starting, allowing for
a generic frozen state (useful for rotating stopped counters).

The stopped state is implemented in two different ways, depending on
how the architecture implemented the throttled state:

 1) We disable the counter:
    a) the pmu has per-counter enable bits, we flip that
    b) we program a NOP event, preserving the counter state

 2) We store the counter state and ignore all read/overflow events

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Cc: paulus &lt;paulus@samba.org&gt;
Cc: stephane eranian &lt;eranian@googlemail.com&gt;
Cc: Robert Richter &lt;robert.richter@amd.com&gt;
Cc: Will Deacon &lt;will.deacon@arm.com&gt;
Cc: Paul Mundt &lt;lethal@linux-sh.org&gt;
Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Cc: Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;
Cc: Lin Ming &lt;ming.m.lin@intel.com&gt;
Cc: Yanmin &lt;yanmin_zhang@linux.intel.com&gt;
Cc: Deng-Cheng Zhu &lt;dengcheng.zhu@gmail.com&gt;
Cc: David Miller &lt;davem@davemloft.net&gt;
Cc: Michael Cree &lt;mcree@orcon.net.nz&gt;
LKML-Reference: &lt;new-submission&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>perf: Per PMU disable</title>
<updated>2010-09-09T18:46:29Z</updated>
<author>
<name>Peter Zijlstra</name>
</author>
<published>2010-06-14T06:49:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=33696fc0d141bbbcb12f75b69608ea83282e3117'/>
<id>urn:sha1:33696fc0d141bbbcb12f75b69608ea83282e3117</id>
<content type='text'>
Changes perf_disable() into perf_pmu_disable().

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Cc: paulus &lt;paulus@samba.org&gt;
Cc: stephane eranian &lt;eranian@googlemail.com&gt;
Cc: Robert Richter &lt;robert.richter@amd.com&gt;
Cc: Will Deacon &lt;will.deacon@arm.com&gt;
Cc: Paul Mundt &lt;lethal@linux-sh.org&gt;
Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Cc: Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;
Cc: Lin Ming &lt;ming.m.lin@intel.com&gt;
Cc: Yanmin &lt;yanmin_zhang@linux.intel.com&gt;
Cc: Deng-Cheng Zhu &lt;dengcheng.zhu@gmail.com&gt;
Cc: David Miller &lt;davem@davemloft.net&gt;
Cc: Michael Cree &lt;mcree@orcon.net.nz&gt;
LKML-Reference: &lt;new-submission&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
</feed>
