Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp788819iog; Wed, 29 Jun 2022 10:11:31 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tHodusj+Hoj2v857s7ybdAMu44EcRsZYIlkUax3lroPVkNaEZpPUapIjV5V3Bnl69BpGTg X-Received: by 2002:a17:90a:d195:b0:1ee:dd88:4ea2 with SMTP id fu21-20020a17090ad19500b001eedd884ea2mr6899894pjb.133.1656522691218; Wed, 29 Jun 2022 10:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656522691; cv=none; d=google.com; s=arc-20160816; b=w0iKpqoYGdYnjHqu4CTIQ5N4JhMD9dtDecgF3XFMULKTKesU0m6iSIWpZelTBkHQLV 9MgwrczW87OrxLZh8ygOwf8KtRWnlzNDps+yfGvLIRKfTJtrOIHCJ640QryhjHE19xQp 2YVIusDCrIDcQYxkRO6B4nBDA2fr0xLMHYS6+xO9/0xGhKjZGX05c9+zx5+yINp/xXKq qev2CnNX/LpXaf5XePIgdQK7UH4dGJmB1hTRfHKXDY2CNk+JoGG5FtgJV876VdzV1GYM aCx0Jb4q4T4pisBZwwmSvP2evvnx1lZAlLEgOQspgDCCTfFVFpmziPPAaQLa6UI+UCQR 63/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=hS0iWXw2vBwf07hRw+AJMaKL/+/P5ivyQ+NC1agijLM=; b=JRA5G/9pzlMFGrwsSTf41ofsPMiBP0CrIRHuGVgLbjrMfXiFi8VbTqkjAa1HdInoK0 0ldCOSH4MxMR7KHQARXBYyHnd2Ipx57DLLY6wzDzoEeHwWHgk6dgBuNvETR8hANYyZzb uqiwwvs+d69I08I+3M2vY9mGoIZpOfmBTbdmKRnBYu7TmZCqnVeHc+67pYr9J5sIXgzA oBL2WLlCNc+I+ZqMVr7qoi6xZo8R4hZ7YVmMyIdjlVk9X50eInvv+KjKzuX465v71XCv VGGYT41+9/2HbkWDfATdcjElOkmuaGzY8OQXz4eivZIcGZXK0wQ2RWmCUA6+wvznwCIq gOyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=UTPJK6vr; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bx6-20020a17090af48600b001e3239b683fsi3832703pjb.90.2022.06.29.10.11.19; Wed, 29 Jun 2022 10:11:31 -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; dkim=pass header.i=@google.com header.s=20210112 header.b=UTPJK6vr; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230501AbiF2QtJ (ORCPT + 99 others); Wed, 29 Jun 2022 12:49:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232002AbiF2Qs4 (ORCPT ); Wed, 29 Jun 2022 12:48:56 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C1153F332 for ; Wed, 29 Jun 2022 09:47:35 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id h186-20020a1c21c3000000b003a03567d5e9so36637wmh.1 for ; Wed, 29 Jun 2022 09:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hS0iWXw2vBwf07hRw+AJMaKL/+/P5ivyQ+NC1agijLM=; b=UTPJK6vrgyh5TnMtMa1HKMxiXFPTLDxlke2Q8G4jm+4uxsef+BI0ytD9mAf/f4uMB7 U6AIMURbzNn50OYHjNi140ZxAmSV/rBOeMBF4Y5UJAZOpqSaCycRF38vD6YWz5XGLBws 8tHtGQ47NDwpdfrKSTnIs5ZhRiirWZefqcMDPsTIydbTSGbycFInJiquD+w1C0yfVmPU n49TZOSp3dpA2rEgnWS6o9zshGGFVbKaDe/IiqiDyPymvgOmTgvIjboUCPfLsDUKID1f MVp1O8U/IzvP3+CZuvALPnmix8A1ogKBq3P157+OnajtfQHr0sUfJSXdZF+Fo4X+ZuY7 fcfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hS0iWXw2vBwf07hRw+AJMaKL/+/P5ivyQ+NC1agijLM=; b=b07JQ+Xibq/rb6PnAbMyHs5WDaHHyBsxLKiKY7EuBMUFlwsj/6liI73amhPPge0Zih cj3FmszMyN2/lWnUDDnSL0TXk/os4Him/mddwfDtVxAImh8Kxg6U1tJWfuyKBO0rKpzY rrVwkavCnw1v+9OtaZU6qWH8NPQOQGz6y4+w9zIU1ctogXL4Er8D7WRbc6nTE6nCHwOA WvwA9NTn2RHDIAHtAViwKNPJy8k66MTv7sRWR6SX3p9wn4ihmBVP57evGMztemC7pzaf n75rpieVrWOA3yFp1t8G0Ajcanv0IXcqK+nl7Z04WxsH8xc1lQJapgDISAjiQ9Som+LW ox+g== X-Gm-Message-State: AJIora+R10byTcjDGydL0iP13PN/AGgKbdtyp6IxpM1zjwxA/aufNTXN 60GJLIuYvEXXBX3d01zDdqSPuDNV2AYiFL0JYxDsDQ== X-Received: by 2002:a7b:c10c:0:b0:3a0:439d:6d66 with SMTP id w12-20020a7bc10c000000b003a0439d6d66mr4835817wmi.149.1656521253873; Wed, 29 Jun 2022 09:47:33 -0700 (PDT) MIME-Version: 1.0 References: <20220627025744.106527-1-irogers@google.com> <6f9649d7-8129-57cf-8ab5-03abacd9cb6e@huawei.com> In-Reply-To: <6f9649d7-8129-57cf-8ab5-03abacd9cb6e@huawei.com> From: Ian Rogers Date: Wed, 29 Jun 2022 09:47:21 -0700 Message-ID: Subject: Re: [PATCH v6 0/4] Rewrite jevents program in python To: John Garry 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 , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Nick Forrington , Kajol Jain , James Clark , Andrew Kilroy , "Paul A . Clarke" , Will Deacon , Mathieu Poirier , ananth.narayan@amd.com, ravi.bangoria@amd.com, santosh.shukla@amd.com, sandipan.das@amd.com, Caleb Biggers , Perry Taylor , Kshipra Bopardikar , Stephane Eranian Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 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 ? Ian