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 E5A7DC388F2 for ; Thu, 22 Oct 2020 11:06:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8149B222E9 for ; Thu, 22 Oct 2020 11:06:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2896965AbgJVLGK (ORCPT ); Thu, 22 Oct 2020 07:06:10 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:47804 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2503186AbgJVLGK (ORCPT ); Thu, 22 Oct 2020 07:06:10 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 02A04AA43DBB1F5FECE4; Thu, 22 Oct 2020 19:06:05 +0800 (CST) Received: from localhost.localdomain (10.69.192.58) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Thu, 22 Oct 2020 19:05:54 +0800 From: John Garry To: , , , , , , , , , , CC: , Subject: [PATCH v2 0/2] perf PMU events test: Add scenario for arch std events Date: Thu, 22 Oct 2020 19:02:25 +0800 Message-ID: <1603364547-197086-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 Differences to v1: - Revert to original logic in jevents.c error path 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 | 87 +++++++++---------- tools/perf/tests/pmu-events.c | 14 +++ 4 files changed, 66 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