* [PATCH] arm: oprofile: add ARMv7 cortex-a15 support
@ 2014-04-21 10:11 Kefeng Wang
2014-04-21 11:02 ` kefeng.wang
0 siblings, 1 reply; 2+ messages in thread
From: Kefeng Wang @ 2014-04-21 10:11 UTC (permalink / raw)
To: Will Deacon, Robert Richter
Cc: Russell King, oprofile-list, linux-arm-kernel, linux-kernel,
wangkefeng.wang
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm: oprofile: add ARMv7 cortex-a15 support
2014-04-21 10:11 [PATCH] arm: oprofile: add ARMv7 cortex-a15 support Kefeng Wang
@ 2014-04-21 11:02 ` kefeng.wang
0 siblings, 0 replies; 2+ messages in thread
From: kefeng.wang @ 2014-04-21 11:02 UTC (permalink / raw)
To: Will Deacon, Robert Richter
Cc: Kefeng Wang, Russell King, oprofile-list, linux-arm-kernel,
linux-kernel
Sorry, please ignore, we have operf tool, this is unnecessary.
On 2014-4-21 18:11, Kefeng Wang wrote:
> 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)
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-21 11:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-21 10:11 [PATCH] arm: oprofile: add ARMv7 cortex-a15 support Kefeng Wang
2014-04-21 11:02 ` kefeng.wang
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).