From patchwork Fri Nov 2 10:43:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guoqing Jiang X-Patchwork-Id: 1687961 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id D9A963FD2B for ; Fri, 2 Nov 2012 10:43:43 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TUEh3-0006aG-Gn; Fri, 02 Nov 2012 10:41:41 +0000 Received: from mail1.windriver.com ([147.11.146.13]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TUEgz-0006X9-6l for linux-arm-kernel@lists.infradead.org; Fri, 02 Nov 2012 10:41:37 +0000 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.3) with ESMTP id qA2Af6Pe023036 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 2 Nov 2012 03:41:06 -0700 (PDT) Received: from gjiang-desktop.corp.ad.wrs.com (128.224.163.23) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.318.4; Fri, 2 Nov 2012 03:41:05 -0700 From: To: , , Subject: [PATCH 1/1] ARM: oprofile: add A5/A7/A15 entries in op_perf_name Date: Fri, 2 Nov 2012 18:43:36 +0800 Message-ID: <1351853016-4476-1-git-send-email-jgq516@gmail.com> X-Mailer: git-send-email 1.7.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121102_064137_477336_FE66D5F3 X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jgq516[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED 0.8 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (jgq516[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list Cc: oprofile-list@lists.sf.net, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Xiao Jiang Add related name for A5/A7/A15 which are consistent with the OProfile user ABI. Signed-off-by: Xiao Jiang --- 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)