Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757937AbbBFW7d (ORCPT ); Fri, 6 Feb 2015 17:59:33 -0500 Received: from mail-by2on0132.outbound.protection.outlook.com ([207.46.100.132]:26704 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754472AbbBFW73 (ORCPT ); Fri, 6 Feb 2015 17:59:29 -0500 X-Greylist: delayed 858 seconds by postgrey-1.27 at vger.kernel.org; Fri, 06 Feb 2015 17:59:29 EST From: Tom Huynh To: , , , , , CC: , , , Tom Huynh Subject: [PATCH 0/3] Add e6500 perf events to sysfs and update perf doc Date: Fri, 6 Feb 2015 16:43:53 -0600 Message-ID: <1423262636-12053-1-git-send-email-tom.huynh@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=tom.huynh@freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(50986999)(50466002)(36756003)(86362001)(575784001)(229853001)(62966003)(77156002)(2201001)(87936001)(106466001)(6806004)(92566002)(48376002)(77096005)(19580395003)(46102003)(33646002)(50226001)(76506005)(104016003)(105606002)(47776003)(57986006)(85426001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR0301MB0713;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0713; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004);SRVR:CY1PR0301MB0713; X-Forefront-PRVS: 047999FF16 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0713; X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2015 22:44:56.0471 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.168.50] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0713 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1701 Lines: 40 This patch set adds generic events, specific events, and format attribute for the e6500 pmu to sysfs. This makes perf more convenient to use on the e6500 by allowing the users to see all supported events and specify events using meaningful names instead of raw event codes. This patchset includes similar features in the following commits: - 1c53a270724d ("perf/POWER7: Make generic event translations available in sysfs"). - 886c3b2d677f ("perf/POWER7: Make some POWER7 events available in sysfs") - cfe0d8ba14a1 ("perf tools: Make Power7 events available for perf") - 3bf7b07ece6e ("perf/POWER7: Create a sysfs format entry for Power7 events"). This patchset also update tool/perf/design.txt to account for the changes in commit a21ca2cac582 ("perf_counter: Separate out attr->type from attr->config"). Attached patches: 1/3 perf/e6500: Make event translations available in sysfs 2/3 perf/e6500: Create a sysfs format entry for e6500 events 3/3 perf/doc: Update perf_event_attr struct arch/powerpc/include/asm/perf_event_fsl_emb.h | 20 +- arch/powerpc/perf/core-fsl-emb.c | 12 ++ arch/powerpc/perf/e6500-events-list.h | 289 ++++++++++++++++++++++++++ arch/powerpc/perf/e6500-pmu.c | 63 +++++- tools/perf/design.txt | 159 ++++++++++---- 5 files changed, 491 insertions(+), 52 deletions(-) create mode 100644 arch/powerpc/perf/e6500-events-list.h -- 1.9.1 -- 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/