diff mbox

arm: oprofile: add ARMv7 cortex-a15 support

Message ID 1398075064-4906-1-git-send-email-kefeng.wang@linaro.org
State New
Headers show

Commit Message

Kefeng Wang April 21, 2014, 10:11 a.m. UTC
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(+)

Comments

Kefeng Wang April 21, 2014, 11:02 a.m. UTC | #1
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)
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
diff mbox

Patch

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)