From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/1] ARM: oprofile: add A5/A7/A15 entries in op_perf_name
Date: Mon, 5 Nov 2012 11:31:03 +0000 [thread overview]
Message-ID: <20121105113102.GF3351@mudshark.cambridge.arm.com> (raw)
In-Reply-To: <1351853016-4476-1-git-send-email-jgq516@gmail.com>
On Fri, Nov 02, 2012 at 10:43:36AM +0000, jgq516 at gmail.com wrote:
> From: Xiao Jiang <jgq516@gmail.com>
>
> Add related name for A5/A7/A15 which are consistent with the OProfile
> user ABI.
>
> Signed-off-by: Xiao Jiang <jgq516@gmail.com>
> ---
> arch/arm/oprofile/common.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c
> index 99c63d4b..ec10db1 100644
> --- a/arch/arm/oprofile/common.c
> +++ b/arch/arm/oprofile/common.c
> @@ -37,8 +37,11 @@ static struct op_perf_name {
> { "xscale1", "arm/xscale2" },
> { "v6", "arm/armv6" },
> { "v6mpcore", "arm/mpcore" },
> + { "ARMv7 Cortex-A5", "arm/armv7-ca5" },
> + { "ARMv7 Cortex-A7", "arm/armv7-ca7" },
> { "ARMv7 Cortex-A8", "arm/armv7" },
> { "ARMv7 Cortex-A9", "arm/armv7-ca9" },
> + { "ARMv7 Cortex-A15", "arm/armv7-ca15" },
> };
>
> char *op_name_from_perf_id(void)
I'd rather not go down this route now that we have the operf tool as part of
oprofile, which can use the perf syscall directly and doesn't need this
string translation.
Will
next prev parent reply other threads:[~2012-11-05 11:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-02 10:43 [PATCH 1/1] ARM: oprofile: add A5/A7/A15 entries in op_perf_name jgq516 at gmail.com
2012-11-05 11:31 ` Will Deacon [this message]
2012-11-20 12:17 ` Robert Richter
2012-11-20 15:57 ` Will Deacon
2012-11-20 16:31 ` Robert Richter
2012-11-20 16:55 ` Will Deacon
2012-11-20 17:06 ` Robert Richter
2012-11-20 17:08 ` Will Deacon
2012-11-23 14:10 ` 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=20121105113102.GF3351@mudshark.cambridge.arm.com \
--to=will.deacon@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).