From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86DC7C433DF for ; Mon, 19 Oct 2020 15:42:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4878B21548 for ; Mon, 19 Oct 2020 15:42:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730097AbgJSPmk (ORCPT ); Mon, 19 Oct 2020 11:42:40 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:54958 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730226AbgJSPmj (ORCPT ); Mon, 19 Oct 2020 11:42:39 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id C669A1B0EDC1014330AE; Mon, 19 Oct 2020 23:42:27 +0800 (CST) Received: from localhost.localdomain (10.69.192.58) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Mon, 19 Oct 2020 23:42:17 +0800 From: John Garry To: , , , , , , , , , , CC: , , John Garry Subject: [PATCH 0/2] perf PMU events test: Add scenario for arch std events Date: Mon, 19 Oct 2020 23:38:26 +0800 Message-ID: <1603121908-53543-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.58] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The small series covers the following: - Tidy error handling in jevents a bit - Expands on PMU events test to cover jevents arch std events support John Garry (2): perf jevents: Tidy error handling perf jevents: Add test for arch std events .../pmu-events/arch/test/arch-std-events.json | 8 ++ .../pmu-events/arch/test/test_cpu/cache.json | 5 ++ tools/perf/pmu-events/jevents.c | 85 ++++++++----------- tools/perf/tests/pmu-events.c | 14 +++ 4 files changed, 64 insertions(+), 48 deletions(-) create mode 100644 tools/perf/pmu-events/arch/test/arch-std-events.json create mode 100644 tools/perf/pmu-events/arch/test/test_cpu/cache.json -- 2.26.2