Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6091212rwd; Mon, 5 Jun 2023 12:55:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4PJfRdaOq9vRlHxIjjOtcS81hh8Ycp7hpBG5D98fUJ6iwP5fz6EeMUtn+kwkmnGaFgleuw X-Received: by 2002:a05:6214:628:b0:626:2e07:c080 with SMTP id a8-20020a056214062800b006262e07c080mr9146407qvx.15.1685994940828; Mon, 05 Jun 2023 12:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685994940; cv=none; d=google.com; s=arc-20160816; b=UCfDXEv8a+B5pOen6W4kkvGO8ppIUrlD2PQrOXjbyLjVUsy+uJBhdMwMzCgegoBtod E2kO2J6g8NSPMjNDN/KCzf2gxn6sdVDmf2UcDQGsfEa+ygRTgD7JJIbcq/OBm+98nxtb gWY+Jk1t/yNwV6L5ck4/LtjMWX3kXdaPYdiIKWSmHdVtqfORog0asfBQcRpBgASgE4n4 6wEeeTBCsxXNCrwIbUWIwUSIVH5NuBu+qXkgH/JcaFX5C8FpWc4TKzf8erFRMpF1YUEi mwUyohVx/sj+am3eTZM0c1ltECQuxjXfFquJ160hLBfmSTnEDnEUy/FPa9P15bMTY+A/ 8X9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9/SUz4giDBpKBWpZC5doiK4Q7X9exVESwOhOFm6sEn8=; b=IDlsLMB3oxvXTljb5IVYKFB8JhqhARJcUX/tRKMWjgbQs5fXMzWH30z/mu3g9CW1oG PKLaFkBCH76USxC17iyF+ehdO6FmLaXM1p+yX7RugXTmo8pPoqiatdSNscRbtOq22PmW EaZfgZZ5+H68hGVKsY7j1fwGGseQspHHp+h/IqLmY3pOf2w+WU6fXMEPH8DW2UD7l8H/ IX+z/2cJ0kdgI8QrrNED+FwJ8da5zcbBO/u3raNrlv1QyI61jIF8qO80PxMRTRPZ4veY hJDPOPOCCACnrJZ2IJkMEj6OK3BYAsVzPjyul/WRi4vqFG1bM0Ta+prIfWN1ZP5gWs0k hCbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="a0O4DxG/"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fv6-20020a056214240600b0062573f6205esi5500632qvb.556.2023.06.05.12.55.25; Mon, 05 Jun 2023 12:55:40 -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=@kernel.org header.s=k20201202 header.b="a0O4DxG/"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235103AbjFETjS (ORCPT + 99 others); Mon, 5 Jun 2023 15:39:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235703AbjFETjL (ORCPT ); Mon, 5 Jun 2023 15:39:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AE2D9C; Mon, 5 Jun 2023 12:39:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AC134629C9; Mon, 5 Jun 2023 19:39:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFBBAC433EF; Mon, 5 Jun 2023 19:39:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685993949; bh=rGzDSv/Mb3kU6LAr3XV8zsvhZR0s0w1HUY7G26P7hWw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a0O4DxG/xO/Nv1XZ4Fc53a2O/nfSCcnp2wNJGuMBqn5WEzmjOs/49kSqlCkn+6EPl XPqtT/RcD64p30s7Wz6y6fpZIF0kdhFwHFWaLeq8qlbv4o413VFmcNlDpIGo61W7it lmh7ZXENGeFGrOxYs2tpfnQo+HRLvsx+R9NMuj12Bq8H6KkJy5ZhhTOTr736HsWQb6 hK14MN+76HewPyHGHgRmJOPFnK9MbXBUnsbqZIY5iC3ZUz8QxMEtK2DhMfBTCkZRO3 hpW7BLYqEqGufFgBN58LTapOjyOCpNDvImQW4RODQf26IlWXT8Z87TEbwWE1FnP4pm 4beQLdpnAUK8w== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 5BED540692; Mon, 5 Jun 2023 16:39:06 -0300 (-03) Date: Mon, 5 Jun 2023 16:39:06 -0300 From: Arnaldo Carvalho de Melo To: Jing Zhang Cc: John Garry , Ian Rogers , Will Deacon , Shuai Xue , Robin Murphy , James Clark , Mike Leach , Leo Yan , Mark Rutland , Ilkka Koskinen , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, Zhuo Song Subject: Re: [PATCH v3 2/7] perf metric: Event "Compat" value supports matching multiple identifiers Message-ID: References: <1685438374-33287-1-git-send-email-renyu.zj@linux.alibaba.com> <1685438374-33287-3-git-send-email-renyu.zj@linux.alibaba.com> <452e724b-2a2c-52fd-274b-60db7a7f730e@linux.alibaba.com> <76fcb062-61a8-5f90-b39d-b5fb6da35652@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <76fcb062-61a8-5f90-b39d-b5fb6da35652@linux.alibaba.com> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Em Mon, Jun 05, 2023 at 10:46:36AM +0800, Jing Zhang escreveu: > 在 2023/6/3 上午12:20, John Garry 写道: > > On 01/06/2023 09:58, Jing Zhang wrote: > >> It can match identifiers "arm_cmn600_{0,1,2..X}" or "arm_cmn650_{0,1,2..X}" or "arm_cmn700_{0,1,2..X}" or "arm_ci700_{ 0,1,2..X}". > >> In other words, it can match all identifiers prefixed with “arm_cmn600” or “arm_cmn650” or “arm_cmn700” or “arm_ci700”. > >> > >> If a new model arm_cmn driver with identifier "arm_cmn750_0", it will not be matched, but if a new revision arm_cmn driver with identifier > >> "arm_cmn700_4", it can be matched. > > > > OK, I see what you mean. My confusion came about though your commit message on this same patch, which did not mention cmn650. I assumed that the example event which you were describing was supported for arm_cmn650 and you intentionally omitted it. > > > > Yes, I didn't write cmn650 in the commit message, just because I omitted it. I will add it in a later version. Ok, will wait for v4 then. - Arnaldo