Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934112AbdGTF45 (ORCPT ); Thu, 20 Jul 2017 01:56:57 -0400 Received: from mail-bn3nam01on0064.outbound.protection.outlook.com ([104.47.33.64]:48160 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932306AbdGTF4u (ORCPT ); Thu, 20 Jul 2017 01:56:50 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=cavium.com; From: Ganapatrao Kulkarni To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Will.Deacon@arm.com, catalin.marinas@arm.com, mark.rutland@arm.com, acme@kernel.org, alexander.shishkin@linux.intel.com, peterz@infradead.org, mingo@redhat.com, jnair@caviumnetworks.com, zhangshaokun@hisilicon.com, Robert.Richter@cavium.com, gpkulkarni@gmail.com Subject: [PATCH v4 0/4] Add support for ThunderX2 pmu events using json files Date: Thu, 20 Jul 2017 11:26:04 +0530 Message-Id: <20170720055608.5333-1-ganapatrao.kulkarni@cavium.com> X-Mailer: git-send-email 2.9.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0044.INDPRD01.PROD.OUTLOOK.COM (10.174.214.30) To CY1PR07MB2571.namprd07.prod.outlook.com (10.167.16.26) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 56cb93db-d1a3-458e-de6e-08d4cf341bde X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CY1PR07MB2571; X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2571;3:M9hgul80JYwrwbAHjejSP5ajThZTJ+E5Ysc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UzSLEWXu8H2umPeyAl8vH7s1FdqOE3YDcEZzpDDkaleu7Tz8AUzyAZB/XDm8EEjGePKrGNf6t02MEnOkEx9ZtfF6cTYVpp2oNE+5soSWb9pxpH+hvF/pOsQsSmqcjnVy0fVRkRAYfYcNTAj4cpo8FXTuIDLKxrjEDBTAeNtbt1MRTQbmIpa+46rpTtEWyQrFn3UZjxwKKV6jPYcRK1JXNlXHwirhnXGDcv/hhKllObG9z+zVjiVOvqpRK9uZ6Udxexcw= X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2571;20:tz1wNkylQmxg+na0IPt2H5cxnrjbSjT1Y+ywWTNIuPK3ayNfxfmtZcsEP1J73bE37A0P16LtYTL+/cM/sodgIQwUFYYBTyZbyrBmd2aKzhKfHtQPVQ2HDJZFEMCm+pcbj7RPU5GEpfAPCXxt/q5b74mCXMimCga0oJ1O/BHwAQx6L9ETlf3hg9eRfGXBkUiiVIsuHpc7rVgx9E4OjDdvIgZ5KgMQqNAyXy9l7lQAeMLc0uKSMlNjE9Speq8KofqfUBhsSsoZQgRPKgndaT2b0SGwLll70vGoJIENRDKdfWjdAvToWTDHMZbaUrd9z1wM4zfUhMqgcI10VUrU7/oyz4C48JoKyfktSxVVbShNFjuV01ig0z0AhcNlJxBzWsutk9FknE5+zHmkXSIE7TKGfLrRKqBYxq+At1x8qGePrQ0M1jzHTkciVgMCeh9K8lqErJCrRFeSu+7K+406wGSRMx21hQnhDAFudwdwRJCcnaaz/DZQFxRGYVGlsahUO5DG X-Exchange-Antispam-Report-Test: UriScan:(133145235818549); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123564025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR07MB2571;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR07MB2571; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2571;4:9rqYlqx7MPyrC8rNfOAeRYSnVvGA9QTS8IzuFJY3JS?= =?us-ascii?Q?xaEVAcqyoP0yfc0mqU0vzm6hNWO1dOXliytewcqqWZf3Ecdtdht1d+4+TcpX?= =?us-ascii?Q?AtbeJzIlFvau8cwLEqMAZTihvBhPQAx+6JfWV+309aZ5c65txJIq9QjuKCfj?= =?us-ascii?Q?BrWH84T7ODO68mM5PUM74H4npjoOageAcfu2a9D4LRb22svWVi8dkcugxMzE?= =?us-ascii?Q?n8UVopaSFkUGSCkbBSABRd6Cnf0xDDV2Dze0SFFNcgvyPan+KL6RyB11IeVo?= =?us-ascii?Q?a+ZpZSd0nZxmpwROuoTrj5WgxL0jxeIr2lOFo4yr9zJzCr+UJ3nQcsorM7CQ?= =?us-ascii?Q?+fglDy66IlyQPJSY4sZCYgm5BY1bxQVXe/YjvusK1ZmjMw/R6KxbpofnfOR6?= =?us-ascii?Q?Y4BX2Lxny/wxqfcRv/rZtev+6s5PuevPtj+j0suUNCWCcWljq4ytfEUWcY7j?= =?us-ascii?Q?xF10lCCJdmJJaAcVqHj86Pkan0XzEx9ik6APjhOyPEJSIBCHmQxhPmU/Vx8Z?= =?us-ascii?Q?ETSoQkcq/ATCVoVhiAtPGZCRal59ddrgQMRPzhSsmI9aSFUfFmQ5lkibdIJ3?= =?us-ascii?Q?/6F7Hvyarq3GBZmv9ZoEEwQLigewMKzerroN3f9iOu+onHtFbHhAzYnKcAJL?= =?us-ascii?Q?aE9Fc63yPdF+FQyYVYGsePnR4ms5BQDzMddAsKrMyu0vYp8nmyzVeeoU5RWv?= =?us-ascii?Q?BfI2X9u4ASCYrhp7zdM7c7P636M/EiVm7K9cqNihNKU/KjjmJzzReqj2q1Mn?= =?us-ascii?Q?4YTSj7hk6O7h0egEoWXya+q+MeGOL4Wmj5+bwHI1OVr0P2iX+6atl0PvVY1V?= =?us-ascii?Q?zFV07CsnmaFo6angUSbx2pYKHzbxjf1icCvR9VXHS8x1tjOgwkEyOdbwAGIz?= =?us-ascii?Q?taZD6tUjzPWkI6YSIMp3DuIUXg75Wm8lpg0NvmNVFyLnHyEm9O6D18kataHV?= =?us-ascii?Q?Az3/cTwaZOgq5MxmT789BSRrr9G0mlCex0einA4NcTYdOYUEQP7ZHObkY9D3?= =?us-ascii?Q?GFi9REXGs1pRzVQ5uBBVwdz7rgcxYr9xEkPrsCErvOSepotZWlAa34CKqeW+?= =?us-ascii?Q?Xvfc+owRGagQXPKmNedY51wXwYW9vNVPui1/ThDMTUdnUKfiIw5GzsMFBVzJ?= =?us-ascii?Q?eI33HzkUPjmsCcbIYrEMJvPib8vYvLqTSHoV9s7EWBGf8KpsUG5bEBFdkebD?= =?us-ascii?Q?CxON/ujvOCe4E=3D?= X-Forefront-PRVS: 0374433C81 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(7370300001)(4630300001)(6009001)(39450400003)(39840400002)(39860400002)(39400400002)(39410400002)(39850400002)(8676002)(53416004)(478600001)(72206003)(189998001)(7736002)(4326008)(50466002)(53936002)(48376002)(305945005)(6506006)(2906002)(5003940100001)(6666003)(6486002)(50986999)(66066001)(5009440100003)(50226002)(25786009)(1076002)(110136004)(81166006)(38730400002)(47776003)(42186005)(36756003)(6512007)(86362001)(3846002)(7416002)(33646002)(7350300001)(5660300001)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR07MB2571;H:mypc.caveonetworks.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2571;23:I2NrfZ2PKr059KPaYG93eRKW1ZGWvCMlOcHckFHje?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lRwck9Frqc;24:49Q7DpKFdY2LSo+oyhNYCPkLlWFnDleAlog2IvvJna9qUSWnMvqghSm/RVnbfxJZ67EPp1yoxxmxdrCN/8syPEXsu0p4MCmpHTAthIFiwgc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2571;7:YqOH8AGwSMpvcJXsQ5N7ZY1TBh6YwAwbUbPxNluXzo6vhC7xPv6ThymnBN3wUk5I8u4YrGa0j3GB0G6v1b3czRsYejiHNmqzxg9X/8pcjPXBeQBicE4kfl5OaLwOY8wLbYaaJGBxw3+f/yDmyhcP4zqRqvDmp7detNI4KCAjr/EbmERzP9Z4GpWptzv7o9L2z5EH8OA/YaqnvYLwktepBRq1j8CRHiOFSs9CSXO/XjIKaFitjE5lsMgdIkKHV3285Mz28hAaYRO94EGh/9TWl8bWeKufeQfnerpGg0xkLz0ex9kafJtBkQpmay4kTYmCLO975KBMM/xQIlQg4Mxbwo1n8OvC5Q8YQXe9gWfLdkmPMAaJkUQZxyTBoRfpzJVDPokmJ2m7joq01YMb3Cm8JSlsxpKHR2ICSU5UvEO1LzIo0Z+bKmJf633hupn4AFvMfdpSKXBwdL8/OkngsC/w1u+X+cazVtAdvOZBytv8pnp3PNqsZdvWrXf0CUu8nVlv/O9bjDubgIepnJoKaSSB/Pi/qbvEGSxClZ/rx5FfNvc2Ddegxx+zlfeYV4wb3IqDAURZWbiUyF5ewuFQwVRFetrHw5QpmuSeQMzuNzYTX9RIg3DfTFKcAbXmi4g5L6kWlCCkYHPjhEun5jaZ40SL+rQmMJIl/94+Iwt1Q5+agMxVnEJkW7aECkgl/8gCO/nZOFXgQ+wvdCRVgr7AZF21quR+kpIQZuzlphYwYYaLv4ovaDGxaRr9AglvWpt/s3/5snvnIaj2cEP9mlAL+l/WlNVWazuc4Jq2EssczBiOTLc= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2017 05:56:43.7515 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2571 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1555 Lines: 39 Extending json/jevent framework for parsing arm64 event files. Adding jevents for ThunderX2 implementation defined PMU events. v4: - Rebased to 4.13-rc1 v3: - Addressed comments from Will Deacon and Jayachandran C. - Rebased to 4.12-rc1 v2: - Updated as per Mark Rutland's suggestions. - Added provision for get_cpuid_str to get cpu id string from associated cpus of pmu core device. v1: Initial patchset. Ganapatrao Kulkarni (4): perf utils: passing pmu as a parameter to function get_cpuid_str perf tools arm64: Add support for get_cpuid_str function. perf utils: Add helper function is_pmu_core to detect PMU CORE devices perf vendor events arm64: Add ThunderX2 implementation defined pmu core events tools/perf/arch/arm64/util/Build | 1 + tools/perf/arch/arm64/util/header.c | 59 ++++++++++++++++++++ tools/perf/arch/powerpc/util/header.c | 2 +- tools/perf/arch/x86/util/header.c | 2 +- tools/perf/pmu-events/arch/arm64/mapfile.csv | 15 ++++++ .../arm64/thunderx2/implementation-defined.json | 62 ++++++++++++++++++++++ tools/perf/util/header.h | 3 +- tools/perf/util/pmu.c | 53 +++++++++++++++--- 8 files changed, 186 insertions(+), 11 deletions(-) create mode 100644 tools/perf/arch/arm64/util/header.c create mode 100644 tools/perf/pmu-events/arch/arm64/mapfile.csv create mode 100644 tools/perf/pmu-events/arch/arm64/thunderx2/implementation-defined.json -- 2.9.4