Message ID | Y1g/H2/ljZ1rGmM9@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1189617wru; Tue, 25 Oct 2022 12:59:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6n+apykr13M9fNpm6LmLlyAt3P7Vr1PfnXxxuzIAA5iaN4lN4UkSleO/up0izyQLBWe5cU X-Received: by 2002:a63:fd57:0:b0:43c:9a42:74fb with SMTP id m23-20020a63fd57000000b0043c9a4274fbmr34089662pgj.174.1666727965311; Tue, 25 Oct 2022 12:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666727965; cv=none; d=google.com; s=arc-20160816; b=yasnxMfNgrdooW+X+IyYZYbDAtJPGlyoiUEiI7Tw9/TWWhx5StCDTIVd/Tg1A8jIS6 QPcPdHfNoNki9B3MwogZMID1ObFm3wXEWjSzAjqJlxUbBCFp4Piyv3WtoSowf7CbONNw TA0We6m5XyUZm8dle5azIkdD5QOLKpKuCEZZvC4vITx7Tu/MEtt3KLSjoJOwumPt4X+N irFzd1QSEhKL49sGV/SzYdhRVlC0asiJMRwFWtTeotzioq5M3jziO9PbznzZNci5jjKh JQq2atEFEbZIYBn3W5da9YCEhBCsGIEv9PlVtX9gcK7xFLSoOv9TYMuvrKZzO8NkIPhP Cq5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=hg9mWU9ayJpWRvxwD5v9B9O6CfliJmioESEm1BtQVPI=; b=h1o576LrsoRNYV3kyKkCYHCd+NrwP1UpAxXHbtAh2rTT4KLkC8td+csxreJgmKiZyM +PBsgzHnq0e+dsOqPqPSTkWT+3BWXXvm2d27dmhEXws086YPOm/GMwWBZ6oBxDasA+lN lsN1ubDHdjrSoG7TVxD1hhJ7GvwA/WUL1obuGZdgF0ffufsORD8xBgEGKT12PeNK4/iE e+Gpu2pa2/Uh5nmjy/HpCojcYqi3VZpRTq1lexm5rqv56l4E38yibukfY+mGIBK5RfBL YA+yDJYeWKRNWPROGcZKXXZ7QEOI1oOmxzmtgyQ9QagmDMsfhIA/63/ne/lRikzj19XU WBgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h2jcai28; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u191-20020a6385c8000000b0046ec058379bsi3880090pgd.99.2022.10.25.12.59.12; Tue, 25 Oct 2022 12:59:25 -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=h2jcai28; 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 S231351AbiJYTzX (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Tue, 25 Oct 2022 15:55:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231482AbiJYTzS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Oct 2022 15:55:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C36F328E17 for <linux-kernel@vger.kernel.org>; Tue, 25 Oct 2022 12:55:14 -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 5725D61B0B for <linux-kernel@vger.kernel.org>; Tue, 25 Oct 2022 19:55:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CB72C433D6; Tue, 25 Oct 2022 19:55:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666727713; bh=LHxPXgJSeStUU4r7az4EysTl2+3HCQRlrc0uwfLrm7s=; h=Date:From:To:Cc:Subject:From; b=h2jcai28jCPYvodz6FvftC4x1Ej2dEKohaXmlQpAOQTotBXUUAfV+JAfUgFsM8yhD twu598BfJz1kcx160tgE/k7laqbZ4mn6GLQRofN+FAkBAR1KcMBHRDsdYFabIvEB+J lzr+VntGnoL5Yd+kRRs33eYKJbaOvU8+2QxKW+t1epOK6w0OC0d4uvyDBt/sULcCCm VCvep91dFIQNKYhBzQutVbAmK6N+KxhehyiDTjFKiQvadX6ljjDo4QZwyL4Sd9lEzc Of7Ux4MLNjJwqYPuu4qPAWh3Bf/hXYLW1SLgAe2Op/LYxYK/qXpxz+b4THpFA1hgmo eHt/maMNS791g== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 2F584404BE; Tue, 25 Oct 2022 16:55:11 -0300 (-03) Date: Tue, 25 Oct 2022 16:55:11 -0300 From: Arnaldo Carvalho de Melo <acme@kernel.org> To: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> Cc: Adrian Hunter <adrian.hunter@intel.com>, Ian Rogers <irogers@google.com>, Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>, Peter Zijlstra <peterz@infradead.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org> Subject: perf amd: PERF_MEM_LVLNUM_CXL -> PERF_MEM_LVLNUM_EXTN_MEM Message-ID: <Y1g/H2/ljZ1rGmM9@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.6 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747690943205844461?= X-GMAIL-MSGID: =?utf-8?q?1747690943205844461?= |
Series |
perf amd: PERF_MEM_LVLNUM_CXL -> PERF_MEM_LVLNUM_EXTN_MEM
|
|
Commit Message
Arnaldo Carvalho de Melo
Oct. 25, 2022, 7:55 p.m. UTC
Ravi, I'm updating the tools header copies and noticed that a previous sync brought PERF_MEM_LVLNUM_CXL but now this got renamed to PERF_MEM_LVLNUM_EXTN_MEM, so I had to add this change to the sync of tools/uapi/linux/perf_event.h, please ack. Thanks, - Arnaldo ⬢[acme@toolbox perf-urgent]$ git diff tools/perf/util/mem-events.c ⬢[acme@toolbox perf-urgent]$
Comments
Arnaldo, On 26-Oct-22 1:25 AM, Arnaldo Carvalho de Melo wrote: > Ravi, > > I'm updating the tools header copies and noticed that a previous > sync brought PERF_MEM_LVLNUM_CXL but now this got renamed to > PERF_MEM_LVLNUM_EXTN_MEM, so I had to add this change to the sync of > tools/uapi/linux/perf_event.h, please ack. Kernel header needs to be fixed as discussed here: https://lore.kernel.org/lkml/f6268268-b4e9-9ed6-0453-65792644d953@amd.com Thanks, Ravi s/ravi.bangoria@linux.vnet.ibm.com/ravi.bangoria@amd.com/
Em Wed, Oct 26, 2022 at 11:16:24AM +0530, Ravi Bangoria escreveu: > Arnaldo, > > On 26-Oct-22 1:25 AM, Arnaldo Carvalho de Melo wrote: > > Ravi, > > > > I'm updating the tools header copies and noticed that a previous > > sync brought PERF_MEM_LVLNUM_CXL but now this got renamed to > > PERF_MEM_LVLNUM_EXTN_MEM, so I had to add this change to the sync of > > tools/uapi/linux/perf_event.h, please ack. > > Kernel header needs to be fixed as discussed here: > https://lore.kernel.org/lkml/f6268268-b4e9-9ed6-0453-65792644d953@amd.com Gotcha, will leave the tools/ copy with CXL then. - Arnaldo
On 26-Oct-22 7:10 PM, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 26, 2022 at 11:16:24AM +0530, Ravi Bangoria escreveu: >> Arnaldo, >> >> On 26-Oct-22 1:25 AM, Arnaldo Carvalho de Melo wrote: >>> Ravi, >>> >>> I'm updating the tools header copies and noticed that a previous >>> sync brought PERF_MEM_LVLNUM_CXL but now this got renamed to >>> PERF_MEM_LVLNUM_EXTN_MEM, so I had to add this change to the sync of >>> tools/uapi/linux/perf_event.h, please ack. >> >> Kernel header needs to be fixed as discussed here: >> https://lore.kernel.org/lkml/f6268268-b4e9-9ed6-0453-65792644d953@amd.com Peter, can you please pick up this patch. > > Gotcha, will leave the tools/ copy with CXL then. > > - Arnaldo
diff --git a/tools/perf/util/mem-events.c b/tools/perf/util/mem-events.c index b3a91093069a5715..c80fce18025051ae 100644 --- a/tools/perf/util/mem-events.c +++ b/tools/perf/util/mem-events.c @@ -295,7 +295,7 @@ static const char * const mem_lvl[] = { }; static const char * const mem_lvlnum[] = { - [PERF_MEM_LVLNUM_CXL] = "CXL", + [PERF_MEM_LVLNUM_EXTN_MEM] = "Extension mem", [PERF_MEM_LVLNUM_IO] = "I/O", [PERF_MEM_LVLNUM_ANY_CACHE] = "Any cache", [PERF_MEM_LVLNUM_LFB] = "LFB/MAB",