Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2962534rdb; Tue, 12 Sep 2023 19:03:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0xyubftdDJznD9f7K5vlBwu1l9Fpyqx9oHngxV33nVuh4QM7Crrnf79FkhfcazNcIwWLR X-Received: by 2002:aa7:8889:0:b0:68c:a81:434f with SMTP id z9-20020aa78889000000b0068c0a81434fmr1588945pfe.31.1694570635511; Tue, 12 Sep 2023 19:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694570635; cv=none; d=google.com; s=arc-20160816; b=ZmgD4et/Q52ztNA9T6ex3ndXYF6SKofT6loM/IVztTUAVVOaAvE9RcNxM/w7vQxPta A0Mxl8M6n/5HRKcEYk/MMKGb3E0DdZK3uDqVdxAYS/ihSEnH+2sScD2rn6SWHkMS4Hdr sXUSULlM6C+Y928JvcD93iLLNvMK4f4BV6I50/OfhQN7pHPqwstqh6DUgFdF9EAQI7hs R1EC+gDEguE0zd7lOe5/78BlUPmVtgz2gv/BVWya/M+/v+Dd6Wp1JBj+tbESykR5jxOM mfltmyTidZYL9vgrVwQffqA+W2RzHsNCu85xSCKadUXsHsiC3VRiPvvKbBxFHwPykqBY 7nFg== 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=JsIr72eyGY7R4On+QCbdT25Z/3u5jO7MeDsi5q3FWE0=; fh=Wsjvz8x98oJoL54bayHQEvZvTAgExirm6m332lf4XmU=; b=FNLekdWKx51Nvg64pW7SY6Sct8IaVL7Epeu5d5Lx4kWEviA3IsOKXb6/KYa+WNK+r8 VeYHwEonmhbvOHIoTYQq2ExxydDuteNhvmaQUb9jnhOSkqTCui6eDMF4ZXCf6s/MQAeI bRIDIgh3ITBue24LwmlaE9c5GTTxUCbr1+085XRe8hZxZjx8xjrbY030+mOzPfTzZzhV uf59ywwIRox/lpFVvwRqBv3hKgmOVdVVGOZrabCwJ7XZpMMuKfIM9rYjYCp4XPTrNYjc QhnwIuuQ+Iob2VeLw2uHeq8zqaqguTBKLnKOFV2JZ3hVLwYZuHU+gDr1I6bXAjE6b8Hu uNMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id eg25-20020a056a00801900b0068fcae723easi4175813pfb.368.2023.09.12.19.03.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 19:03:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 93A7080A0DC7; Tue, 12 Sep 2023 19:02:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238129AbjIMCCu (ORCPT + 99 others); Tue, 12 Sep 2023 22:02:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233016AbjIMCCt (ORCPT ); Tue, 12 Sep 2023 22:02:49 -0400 Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA95510FE; Tue, 12 Sep 2023 19:02:44 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=renyu.zj@linux.alibaba.com;NM=1;PH=DS;RN=20;SR=0;TI=SMTPD_---0VryYWRC_1694570559; Received: from 30.221.149.124(mailfrom:renyu.zj@linux.alibaba.com fp:SMTPD_---0VryYWRC_1694570559) by smtp.aliyun-inc.com; Wed, 13 Sep 2023 10:02:40 +0800 Message-ID: Date: Wed, 13 Sep 2023 10:02:37 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH v8 3/8] perf vendor events: Supplement the omitted EventCode To: Arnaldo Carvalho de Melo Cc: Ian Rogers , John Garry , Will Deacon , James Clark , Mark Rutland , Mike Leach , Leo Yan , Namhyung Kim , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Adrian Hunter , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-doc@vger.kernel.org, Zhuo Song , Shuai Xue References: <1694087913-46144-1-git-send-email-renyu.zj@linux.alibaba.com> <1694087913-46144-4-git-send-email-renyu.zj@linux.alibaba.com> <01eecef3-a918-a6d0-6f9f-d3b99c9680a8@linux.alibaba.com> From: Jing Zhang In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 12 Sep 2023 19:02:58 -0700 (PDT) X-Spam-Status: No, score=-2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 在 2023/9/13 上午4:34, Arnaldo Carvalho de Melo 写道: > Em Mon, Sep 11, 2023 at 10:41:16AM +0800, Jing Zhang escreveu: >> >> 在 2023/9/9 上午5:18, Ian Rogers 写道: >>> On Thu, Sep 7, 2023 at 4:58 AM Jing Zhang wrote: >>>> If there is an "event=0" in the event description, the EventCode can >>>> be omitted in the JSON file, and jevent.py will automatically fill in >>>> "event=0" during parsing. >>>> >>>> However, for some events where EventCode and ConfigCode are missing, >>>> it is not necessary to automatically fill in "event=0", such as the >>>> CMN event description which is typically "type=xxx, eventid=xxx". >>>> >>>> Therefore, before modifying jevent.py to prevent it from automatically >>>> adding "event=0" by default, it is necessary to fill in all omitted >>>> EventCodes first. >>>> >>>> Signed-off-by: Jing Zhang >>> I thought you were going to change the behavior in jevents.py so this >>> change would be unnecessary. The next time the json is generated by >>> the script: >>> https://github.com/intel/perfmon/blob/main/scripts/create_perf_json.py >>> then this will break. It seems easier to workaround the issue in jevents.py. >>> >> Okay, I will workaround the issue in jevents.py. Thank you! > So this means you will resubmit the whole 8-patches long series or > should we merge this one and then get a followup patch? > Please wait for v9 as there are still some unresolved issues in this series. Thanks, Jing > - Arnaldo > >>> Thanks, >>> Ian