From: Robert Richter <robert.richter@amd.com>
To: Ari Kauppi <kauppi@papupata.org>
Cc: Richard Purdie <rpurdie@rpsys.net>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
Will Deacon <will.deacon@arm.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Matt Fleming <matt@console-pimps.org>
Subject: Re: [PATCH v2 0/3] oprofile: ARM backtraces and few minors
Date: Wed, 26 Jan 2011 19:33:55 +0100 [thread overview]
Message-ID: <20110126183355.GM5874@erda.amd.com> (raw)
In-Reply-To: <1295549840-17809-1-git-send-email-kauppi@papupata.org>
On 20.01.11 13:57:17, Ari Kauppi wrote:
> This patchset re-enables ARM backtraces with non-PMU capable CPUs.
>
> In V2 I have tried to address the comments received for the V1
> patches. arch/sh/oprofile/common.c is untouched but should work
> as earlier.
>
> Compile tested with arm/omap2plus_defconfig (with and without
> CONFIG_HW_PERF_EVENTS).
>
> Ari Kauppi (3):
> oprofile: Use CONFIG_HW_PERF_EVENTS for oprofile_perf_init and
> friends
> oprofile: Provide stubs for oprofile_perf_{init,exit}
> ARM: oprofile: Always allow backtraces
>
> arch/arm/oprofile/common.c | 12 ++----------
> include/linux/oprofile.h | 13 +++++++++++--
> 2 files changed, 13 insertions(+), 12 deletions(-)
Applied to oprofile/urgent, thanks Ari.
I squashed patch 2 and 3 and modified the commit messages (see below).
Added to .37-stable.
-Robert
commit d14dd7e20d5e526557f5d3cfef4046a642f80924
Author: Ari Kauppi <kauppi@papupata.org>
Date: Thu Jan 20 13:57:19 2011 -0500
ARM: oprofile: Fix backtraces in timer mode
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 <linux/oprofile.h>. This allows cleaning of other
architecture specific implementations too.
Cc: stable@kernel.org # 37.x
Signed-off-by: Ari Kauppi <kauppi@papupata.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
commit 1ea1bdf7faa4d0b5293e605f2e1ef1c2c59f6b53
Author: Ari Kauppi <kauppi@papupata.org>
Date: Thu Jan 20 13:57:18 2011 -0500
oprofile: Fix usage of CONFIG_HW_PERF_EVENTS for oprofile_perf_init and friends
The implementations are flagged in Makefile with CONFIG_HW_PERF_EVENTS
instead of CONFIG_PERF_EVENTS.
Cc: stable@kernel.org # 37.x
Signed-off-by: Ari Kauppi <kauppi@papupata.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
--
Advanced Micro Devices, Inc.
Operating System Research Center
WARNING: multiple messages have this Message-ID (diff)
From: robert.richter@amd.com (Robert Richter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/3] oprofile: ARM backtraces and few minors
Date: Wed, 26 Jan 2011 19:33:55 +0100 [thread overview]
Message-ID: <20110126183355.GM5874@erda.amd.com> (raw)
In-Reply-To: <1295549840-17809-1-git-send-email-kauppi@papupata.org>
On 20.01.11 13:57:17, Ari Kauppi wrote:
> This patchset re-enables ARM backtraces with non-PMU capable CPUs.
>
> In V2 I have tried to address the comments received for the V1
> patches. arch/sh/oprofile/common.c is untouched but should work
> as earlier.
>
> Compile tested with arm/omap2plus_defconfig (with and without
> CONFIG_HW_PERF_EVENTS).
>
> Ari Kauppi (3):
> oprofile: Use CONFIG_HW_PERF_EVENTS for oprofile_perf_init and
> friends
> oprofile: Provide stubs for oprofile_perf_{init,exit}
> ARM: oprofile: Always allow backtraces
>
> arch/arm/oprofile/common.c | 12 ++----------
> include/linux/oprofile.h | 13 +++++++++++--
> 2 files changed, 13 insertions(+), 12 deletions(-)
Applied to oprofile/urgent, thanks Ari.
I squashed patch 2 and 3 and modified the commit messages (see below).
Added to .37-stable.
-Robert
commit d14dd7e20d5e526557f5d3cfef4046a642f80924
Author: Ari Kauppi <kauppi@papupata.org>
Date: Thu Jan 20 13:57:19 2011 -0500
ARM: oprofile: Fix backtraces in timer mode
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 <linux/oprofile.h>. This allows cleaning of other
architecture specific implementations too.
Cc: stable at kernel.org # 37.x
Signed-off-by: Ari Kauppi <kauppi@papupata.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
commit 1ea1bdf7faa4d0b5293e605f2e1ef1c2c59f6b53
Author: Ari Kauppi <kauppi@papupata.org>
Date: Thu Jan 20 13:57:18 2011 -0500
oprofile: Fix usage of CONFIG_HW_PERF_EVENTS for oprofile_perf_init and friends
The implementations are flagged in Makefile with CONFIG_HW_PERF_EVENTS
instead of CONFIG_PERF_EVENTS.
Cc: stable at kernel.org # 37.x
Signed-off-by: Ari Kauppi <kauppi@papupata.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
--
Advanced Micro Devices, Inc.
Operating System Research Center
next prev parent reply other threads:[~2011-01-26 18:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-20 18:57 [PATCH v2 0/3] oprofile: ARM backtraces and few minors Ari Kauppi
2011-01-20 18:57 ` Ari Kauppi
2011-01-20 18:57 ` [PATCH v2 1/3] oprofile: Use CONFIG_HW_PERF_EVENTS for oprofile_perf_init and friends Ari Kauppi
2011-01-20 18:57 ` Ari Kauppi
2011-01-20 18:57 ` [PATCH v2 2/3] oprofile: Provide stubs for oprofile_perf_{init,exit} Ari Kauppi
2011-01-20 18:57 ` Ari Kauppi
2011-01-20 18:57 ` [PATCH v2 3/3] ARM: oprofile: Always allow backtraces Ari Kauppi
2011-01-20 18:57 ` Ari Kauppi
2011-01-21 11:27 ` Will Deacon
2011-01-21 11:27 ` Will Deacon
2011-01-26 18:33 ` Robert Richter [this message]
2011-01-26 18:33 ` [PATCH v2 0/3] oprofile: ARM backtraces and few minors Robert Richter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110126183355.GM5874@erda.amd.com \
--to=robert.richter@amd.com \
--cc=kauppi@papupata.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=matt@console-pimps.org \
--cc=rpurdie@rpsys.net \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.