From: Kefeng Wang <kefeng.wang@linaro.org>
To: Will Deacon <will.deacon@arm.com>, Robert Richter <rric@kernel.org>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>,
oprofile-list@lists.sf.net, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, wangkefeng.wang@huawei.com
Subject: [PATCH] arm: oprofile: add ARMv7 cortex-a15 support
Date: Mon, 21 Apr 2014 18:11:04 +0800 [thread overview]
Message-ID: <1398075064-4906-1-git-send-email-kefeng.wang@linaro.org> (raw)
ARMv7 cortex-a15 supports Performance Monitor Units, and
it could be used by oprofile, add perf_pmu_name pair.
Simply tested on hisilicon hip04 soc.
Signed-off-by: Kefeng Wang <kefeng.wang@linaro.org>
---
arch/arm/oprofile/common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c
index 99c63d4b..9ede34b 100644
--- a/arch/arm/oprofile/common.c
+++ b/arch/arm/oprofile/common.c
@@ -39,6 +39,7 @@ static struct op_perf_name {
{ "v6mpcore", "arm/mpcore" },
{ "ARMv7 Cortex-A8", "arm/armv7" },
{ "ARMv7 Cortex-A9", "arm/armv7-ca9" },
+ { "ARMv7 Cortex-A15", "arm/armv7-ca15"},
};
char *op_name_from_perf_id(void)
--
1.7.9.5
next reply other threads:[~2014-04-21 10:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-21 10:11 Kefeng Wang [this message]
2014-04-21 11:02 ` [PATCH] arm: oprofile: add ARMv7 cortex-a15 support kefeng.wang
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=1398075064-4906-1-git-send-email-kefeng.wang@linaro.org \
--to=kefeng.wang@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oprofile-list@lists.sf.net \
--cc=rmk+kernel@arm.linux.org.uk \
--cc=rric@kernel.org \
--cc=wangkefeng.wang@huawei.com \
--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 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).