Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp773871iog; Wed, 29 Jun 2022 09:54:29 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v8xg6FUPWYKDjEepFDZ8E45YsipFM8Ud4vEeSUEcKu59mmjUppKQR0kZ3rmdvYTmNHVQdF X-Received: by 2002:a63:6fcf:0:b0:40c:9736:28b with SMTP id k198-20020a636fcf000000b0040c9736028bmr3508324pgc.344.1656521669717; Wed, 29 Jun 2022 09:54:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656521669; cv=none; d=google.com; s=arc-20160816; b=dV4KYcoeetUs7w+g8nWlsSEFTS9I7lVBkzP8bG6YqmK0hb8dIHlY+wsdJZzQQMuZNz QG70gtzzpbYQcSM6xhkd3bCRhfkCGp7VVq0sBAi2aClJGnBijNDa4zV6E+/QMRcop65v 1g1eeuvxPPYGR8Vg4vCJ5VSQgikm913ptAYvVaghgM94X4CirtySmSCcTEKer6swrNjn POOy9py6RoXQxHkV8IpQm8QBW5L1znLoavSywQ8bJTWMjAAZXh6yMSFsOLBl5c46gPF6 0hgMSy3Uj6AageDoYPPsjjPp85WU5rd/M+kLeWvacLmAYFbj9geCrw5DlgFMJYEVqrkj OO1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=JW5MKgRYvTIAK+38YKVEVZxhYp7Ee51ui3Fg6pjIBrg=; b=NmNsSaZ6wgpoIvHGJXUpPD+45vLXN2tYlgNKNb3GYhTVCpQ4PfCWPm2DLjuk0e8QM6 g+LJiLX8XOgMhHU3TiVam656eyLhxd19TxNMV3yO7JzRNkzDoL/+IMUBs4Ze2GIcVPir YZqyi00uJtN4JKpzKmScvEWnEyygxBrI1L7pJn0pYcYSydvgUeZwnBFck2Ykb0mwgLh9 lcXcaDCLyfWa/qCKIKoXmcCM2V7jeJwGQbFIUGznu6F+iwPhQs9Gxv3wpF9ErN3pjuVn tdV5sG5OuLN9qb8OXJvkdkRvXdiCTtsdLqdaLNTeK6Gdn35I/jajrC4KfNIJBFu21Pr7 ejpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a630c0b000000b0040d5dc5a9edsi22890176pgl.487.2022.06.29.09.54.17; Wed, 29 Jun 2022 09:54:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231161AbiF2QuV (ORCPT + 99 others); Wed, 29 Jun 2022 12:50:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230484AbiF2QuU (ORCPT ); Wed, 29 Jun 2022 12:50:20 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AF03F6E; Wed, 29 Jun 2022 09:50:20 -0700 (PDT) Received: from fraeml708-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4LY6pP23BRz6H6m6; Thu, 30 Jun 2022 00:47:57 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml708-chm.china.huawei.com (10.206.15.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 29 Jun 2022 18:50:18 +0200 Received: from [10.195.244.164] (10.195.244.164) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 29 Jun 2022 17:50:16 +0100 Message-ID: <03cab2a6-0217-d688-8c86-5fd58e847dde@huawei.com> Date: Wed, 29 Jun 2022 17:50:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v6 0/4] Rewrite jevents program in python To: Ian Rogers CC: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , "Namhyung Kim" , Kan Liang , Andi Kleen , Zhengjun Xing , "Felix Fietkau" , Qi Liu , Like Xu , , , Nick Forrington , Kajol Jain , James Clark , Andrew Kilroy , "Paul A . Clarke" , Will Deacon , Mathieu Poirier , , , , , Caleb Biggers , Perry Taylor , Kshipra Bopardikar , Stephane Eranian References: <20220627025744.106527-1-irogers@google.com> <6f9649d7-8129-57cf-8ab5-03abacd9cb6e@huawei.com> From: John Garry In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.195.244.164] X-ClientProxiedBy: lhreml710-chm.china.huawei.com (10.201.108.61) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/06/2022 17:47, Ian Rogers wrote: > On Mon, Jun 27, 2022 at 10:27 AM John Garry wrote: >> >> On 27/06/2022 03:57, Ian Rogers wrote: >>> A challenge with this code is in avoiding regressions. For this reason >>> the jevents.py produces identical output to jevents.c, validated with a >>> test script and build target. >>> >>> v6. Adds Tested-by from Zhengjun Xing >>> and Thomas Richter. Fixes issues spotted >>> by Jiri Olsa, jsmn.c wasn't deleted and the >>> empty pmu-events.c didn't pass the pmu-events test. It also adds a >>> missing mkdir which is necessary before creating pmu-events.c and >>> tweaks the quiet display code in the empty case to display a gen. >>> v5. Adds a 2>/dev/null as suggested by David Laight >> >> >> Hmmm... shouldn't this be v7? Anyway what I got with message-id >> 20220627025744.106527-1-irogers@google.com now seems to build and the >> output looks ok. >> >> Thanks, >> John > > Thanks John, I think I've confused myself by working on greater than 1 > machine wrt version numbers. I can re-send as v7, would it be okay to > put on a Tested-by: John Garry ? > Sure, Tested-by: John Garry > .