Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2210821rdh; Tue, 26 Sep 2023 16:41:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHmMLFSFgnFRWpvhV1DDjOalS5GfBKKlentcXvxhftewl6v3bNLXSOdY00X/j+axaQN2H4C X-Received: by 2002:a17:90b:d98:b0:26d:3d3a:a198 with SMTP id bg24-20020a17090b0d9800b0026d3d3aa198mr147647pjb.42.1695771713023; Tue, 26 Sep 2023 16:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695771713; cv=none; d=google.com; s=arc-20160816; b=wMFKg2upJI2QVw6lN3zyHut5Vx0/r7w6uwxKmPmNYTngu7mYJP8TuCBlSiUY4Lhug9 a1MlXxsG+CJGrbyel/nXY67U0fQXyNCHcWSg/5LQO2dLJJfpiH79DBzwtT5gzcyi8VJJ W9QDG0aOPmAZcygQJ8GUrDAK83TU8Q9T9Ia6pgVco9MSQVx6RmH8kG3TIeU0Pqgo1NVF jI8jwgrHDDoMNg6vN0BJrkRzq4k8Yw7/5jS7E7CzwGx1KXujC7gQvjBFF+HoJWFbt2QF URTTRF/s3os7YEzmuTqQxHHynQ16YCZ5U1HhnCrGyZe5FiB9epu/WaxA/7F0JjPyzwqy SZNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=lPy7TDpZes1eE6NprqpKss9f+aw9U9YT0ZRW2s4WG4Y=; fh=30mH25N94g6DeglVnpG9cHqUttFmCgWLXDGzXXOtGtE=; b=WRqWYlkjTqfFUb2RQ933d0cx/Tn2F02Dw/OBiJhOWNWd8vuz+hchnNSszpiHeR02ke et3vwqbselNdeoKyWknL90BzUV8SW3JK7hGsOjwaF2cKzohA3kGy01MGftmoTZXUw89a R4EI7rI7GJ9dJNMybCArZ5kbHDkzo7m1METS8ZtWNXiweF46kzCggTsNeA6NUbhYEIHa 9T2yxP1+vhT7uF40cQUdtVTgeQdNW1wxZreb+koAUCbiw7aCECcbC1b+NK9ywphJ/7TG cqAM3TfdUsSvL+t2KDm/bW7ldW7SggyX+MBJLImnInQo1aBTDczl+8qFrQlLUY2vxGMg 2bxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id e23-20020a17090a9a9700b00274729abcdbsi15728037pjp.56.2023.09.26.16.41.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 16:41:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4305D81DE3AC; Tue, 26 Sep 2023 16:40:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230508AbjIZXkC convert rfc822-to-8bit (ORCPT + 99 others); Tue, 26 Sep 2023 19:40:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231755AbjIZXiB (ORCPT ); Tue, 26 Sep 2023 19:38:01 -0400 Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 738D02D53; Tue, 26 Sep 2023 15:50:34 -0700 (PDT) Received: by mail-io1-f52.google.com with SMTP id ca18e2360f4ac-79f989480e0so308580439f.3; Tue, 26 Sep 2023 15:50:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695768633; x=1696373433; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MZKclDe/uYQzuxv6DMuerm/HlKiq6cyDhOcFQbVTnOc=; b=E5LXbiIEUFABrXGeIQdVeDWK8weUS6sCdNxp3dO4psocIb+uMOqBR2LNUYZ4VoJm0v c+ndZD29YnuEMo8qNtU9BwebxSFlMggFsYf8rdjgS7+Q0ypWVOnNbt2X5WI/gCxE8LjF TAyu+ARuQCvTM5QtMdteV/j+YVYH2ZWikklSYxpgmqQO3Ggf1hIj3sgsFEFu+2tP//gX VQlvxjiEBoaAMH9wrDxGCeMic+vtFqPhrEnX1watMJCYZUAGps73ijakuCMm0YgObqN+ gEGHj69+715cHEUmECJ4P6Jg7r47mkmLtPFB8e2000Iwph4i+FdxX5IO52GMX3qm6tG7 tfzw== X-Gm-Message-State: AOJu0YwhbXu3eI9Vm868Dt+0lasUZZrXiZsQltk69SqplwR5tSBr58et k5x/OiNaKMoIu/fcdtYtRAoPsAh5q06kT3MWoP0= X-Received: by 2002:a5e:8306:0:b0:783:63d6:4c5 with SMTP id x6-20020a5e8306000000b0078363d604c5mr191066iom.12.1695768633651; Tue, 26 Sep 2023 15:50:33 -0700 (PDT) MIME-Version: 1.0 References: <20230920061839.2437413-1-ilkka@os.amperecomputing.com> In-Reply-To: From: Namhyung Kim Date: Tue, 26 Sep 2023 15:50:22 -0700 Message-ID: Subject: Re: [PATCH v2] perf vendor events arm64: Fix for AmpereOne metrics To: Ian Rogers Cc: Ilkka Koskinen , D Scott Phillips , James Clark , John Garry , Arnaldo Carvalho de Melo , Will Deacon , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Dave Kleikamp , linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Tue, 26 Sep 2023 16:40:06 -0700 (PDT) On Wed, Sep 20, 2023 at 9:40 AM Ian Rogers wrote: > > On Tue, Sep 19, 2023 at 11:19 PM Ilkka Koskinen > wrote: > > > > This patch addresses review comments that were given for > > 705ed549148f ("perf vendor events arm64: Add AmpereOne metrics") > > but didn't make it to the original patch [1][2] > > > > Changes include: A fix for backend_memory formula, use of standard metrics > > when possible, using #slots, renaming metrics to avoid spaces in the names, > > and cleanup. > > > > [1] https://lore.kernel.org/linux-perf-users/e9bdacb-a231-36af-6a2e-6918ee7effa@os.amperecomputing.com/ > > [2] https://lore.kernel.org/linux-perf-users/20230826192352.3043220-1-ilkka@os.amperecomputing.com/ > > > > Fixes: 705ed549148f ("perf vendor events arm64: Add AmpereOne metrics") > > Signed-off-by: Ilkka Koskinen > > Reviewed-by: Ian Rogers Applied to perf-tools-next, thanks!