<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm/oprofile, 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>2011-02-17T23:15:10Z</updated>
<entry>
<title>ARM: oprofile: Fix backtraces in timer mode</title>
<updated>2011-02-17T23:15:10Z</updated>
<author>
<name>Ari Kauppi</name>
</author>
<published>2011-01-20T18:57:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13aab0a062f776fca48b17645ed53eb02d0bdcd4'/>
<id>urn:sha1:13aab0a062f776fca48b17645ed53eb02d0bdcd4</id>
<content type='text'>
commit d14dd7e20d5e526557f5d3cfef4046a642f80924 upstream.

Always allow backtraces when using oprofile on ARM, even if a PMU
isn't present. Restores functionality originally introduced in commit
1b7b56982fdcd9d85effd76f3928cf5d6eb26155 ("oprofile: Always allow
backtraces on ARM") by Richard Purdie.

It is not that obvious, but there is now only one oprofile_arch_init()
function. So the .backtrace callback is available also in timer mode.

Implemented by removing code and using stubs for oprofile_perf_{init,
exit} provided by &lt;linux/oprofile.h&gt;. This allows cleaning of other
architecture specific implementations too.

Signed-off-by: Ari Kauppi &lt;kauppi@papupata.org&gt;
Acked-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Robert Richter &lt;robert.richter@amd.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>oprofile: Abstract the perf-events backend</title>
<updated>2010-10-11T15:46:16Z</updated>
<author>
<name>Matt Fleming</name>
</author>
<published>2010-09-27T19:45:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d90a00763b51e1db344a7430c966be723b67a29'/>
<id>urn:sha1:3d90a00763b51e1db344a7430c966be723b67a29</id>
<content type='text'>
Move the perf-events backend from arch/arm/oprofile into
drivers/oprofile so that the code can be shared between architectures.

This allows each architecture to maintain only a single copy of the PMU
accessor functions instead of one for both perf and OProfile. It also
becomes possible for other architectures to delete much of their
OProfile code in favour of the common code now available in
drivers/oprofile/oprofile_perf.c.

Signed-off-by: Matt Fleming &lt;matt@console-pimps.org&gt;
Tested-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Robert Richter &lt;robert.richter@amd.com&gt;
</content>
</entry>
<entry>
<title>ARM: oprofile: Move non-ARM code into separate init/exit</title>
<updated>2010-10-11T15:46:15Z</updated>
<author>
<name>Matt Fleming</name>
</author>
<published>2010-09-27T19:35:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58850e210cd207399cf6461326e322541b2ec81c'/>
<id>urn:sha1:58850e210cd207399cf6461326e322541b2ec81c</id>
<content type='text'>
In preparation for moving the majority of this oprofile code into an
architecture-neutral place separate the architecture-independent code
into oprofile_perf_init() and oprofile_perf_exit().

Signed-off-by: Matt Fleming &lt;matt@console-pimps.org&gt;
Tested-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Robert Richter &lt;robert.richter@amd.com&gt;
</content>
</entry>
<entry>
<title>ARM: oprofile: Rename op_arm to oprofile_perf</title>
<updated>2010-10-11T15:46:15Z</updated>
<author>
<name>Matt Fleming</name>
</author>
<published>2010-09-27T19:29:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=80e96b11f6cd261e1e569f3931604d656388af33'/>
<id>urn:sha1:80e96b11f6cd261e1e569f3931604d656388af33</id>
<content type='text'>
In preparation for moving the generic functions out of this file, give
the functions more general names (e.g. remove "arm" from the names).

Signed-off-by: Matt Fleming &lt;matt@console-pimps.org&gt;
Tested-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Robert Richter &lt;robert.richter@amd.com&gt;
</content>
</entry>
<entry>
<title>oprofile: Make op_name_from_perf_id() global</title>
<updated>2010-10-11T15:46:15Z</updated>
<author>
<name>Matt Fleming</name>
</author>
<published>2010-10-08T20:42:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56946331b28d53232115a155ba662ab3dc598952'/>
<id>urn:sha1:56946331b28d53232115a155ba662ab3dc598952</id>
<content type='text'>
Make op_name_from_perf_id() global so that we have a way for each
architecture to construct an oprofile name for op-&gt;cpu_type. We need to
remove the argument from the function prototype so that we can hide all
implementation details inside the function.

Signed-off-by: Matt Fleming &lt;matt@console-pimps.org&gt;
Signed-off-by: Robert Richter &lt;robert.richter@amd.com&gt;
</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>oprofile, arm: initialize perf_event pointers with NULL</title>
<updated>2010-08-31T10:51:43Z</updated>
<author>
<name>Robert Richter</name>
</author>
<published>2010-08-30T16:21:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4cbe75be5c6ae86bdc7daec864eeb2dfd66f48bb'/>
<id>urn:sha1:4cbe75be5c6ae86bdc7daec864eeb2dfd66f48bb</id>
<content type='text'>
The pointers must be NULL'ed to avoid double-freeing the pointers in
rare cases during reinitialization.

Signed-off-by: Robert Richter &lt;robert.richter@amd.com&gt;
</content>
</entry>
<entry>
<title>ARM: oprofile: fix and simplify init/exit functions</title>
<updated>2010-08-31T09:49:07Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2010-08-29T18:52:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7fd239a647ead1c336a051012d6bb96465ea8c6'/>
<id>urn:sha1:c7fd239a647ead1c336a051012d6bb96465ea8c6</id>
<content type='text'>
Now that oprofile_arch_exit is only called when the OProfile module
is unloaded, it can assume that init completed successfully and not
have to worry about double frees or releasing NULL perf events.

This patch ensures that oprofile_arch_init fails gracefully on ARM
and simplifies the exit code based on the above.

Cc: Robert Richter &lt;robert.richter@amd.com&gt;
Cc: Matt Fleming &lt;matt@console-pimps.org&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Robert Richter &lt;robert.richter@amd.com&gt;
</content>
</entry>
<entry>
<title>ARM: 6074/1: oprofile: convert from sysdev to platform device</title>
<updated>2010-05-17T10:53:59Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2010-04-30T10:38:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d1e86d64bc48dedd0d68d182d0ce6951d8b4fd0d'/>
<id>urn:sha1:d1e86d64bc48dedd0d68d182d0ce6951d8b4fd0d</id>
<content type='text'>
This is a reworking of an original patch posted by Aaro Koskinen:

oprofile does not work with PM, because sysdev_suspend() is done with
interrupts disabled and oprofile needs a mutex. Implementing oprofile
as a platform device solves this problem.

Cc: Aaro Koskinen &lt;aaro.koskinen@nokia.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Aaro Koskinen &lt;aaro.koskinen@nokia.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: 6073/1: oprofile: remove old files and update KConfig</title>
<updated>2010-05-17T10:53:58Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2010-04-30T10:37:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe166148f699cc7865ca07b6754872cfb5ebc312'/>
<id>urn:sha1:fe166148f699cc7865ca07b6754872cfb5ebc312</id>
<content type='text'>
Enable hardware perf-events if CPU_HAS_PMU and select
HAVE_OPROFILE if HAVE_PERF_EVENTS. If no hardware support
is present, OProfile will fall back to timer mode.

This patch also removes the old OProfile drivers in favour
of the code implemented by perf.

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>
</feed>
