Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp203671pxb; Fri, 15 Jan 2021 00:38:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwXj8dWIjgp5LIYaFaFVynjBM/XStVXPgqI4Us48jCidwQVxZBx/ErCHbOrM92W6ECYBF6 X-Received: by 2002:a05:6402:31ae:: with SMTP id dj14mr5054863edb.364.1610699926434; Fri, 15 Jan 2021 00:38:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610699926; cv=none; d=google.com; s=arc-20160816; b=nuuM/ZMjfOLidgBXHWxVoqMQN8uRDPv2Y0pD6+Zu7VqyafpbmupQBcB2gC1jzA8nn+ 1D3E3knvLoewGBEQc7FErx+1sgPnZas9T8c23HzgvAR9ozq4cexLihjXWhCf1mdB0FUh IglryXSykmD74ZatIzxdKCvqn7SxHNM2Gps/nsjNhtMMIzgdW6HQ9iaBMdDrutr/GT8I 04jSZV716p+2cYZKg+hSAtfpU92mQHuZKZs0YYhGK+rK00bASjX23y8gcjiSMzRjYlLT 3SQ4fwvvD+v+57XoZfbbWpqvwDFHgDQ7eWekq/gRHZkzQnDm7Eqp7Go/DFeDaQaX+C+i NLfQ== 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; bh=IC6nYnjWq4nKpkNfzmQBFmOCWxCpv8qHmwxuE4KKiAQ=; b=ITxyIgzL75hV5Zn3DZtL5DZEfHhsKqk7H7xZS3oF3T+f0YnwaH260QWe1DZ4JV+j4J XBut/dWm55M+QpcktrdOVIiBuYhbyK3BOv6KJMX8puJReDBZBeG5V8nl7mvXniAEflZe vBrKqsiYY/DOoWW9l2HF4rReT6n6B9ZGC8jgUxy+TDTMiedu51cjv5bHv/cpSWPJwUkb sQPPLTRyZoSLCtAj6xLFsndJzEInZfGF9LqMCjtpiw+H2MS4tzLefx2kK2w3c1s48ULo 9BNA4P2nptFrB6g6cw6oipNV/sHSr9LOAXNOg8jEJO9tuM3ibm0ZSBLp4dvIcT1SNm2Y 8Cgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id am1si3378247ejc.463.2021.01.15.00.38.22; Fri, 15 Jan 2021 00:38:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1731428AbhAOHbQ (ORCPT + 99 others); Fri, 15 Jan 2021 02:31:16 -0500 Received: from mail-qt1-f175.google.com ([209.85.160.175]:44042 "EHLO mail-qt1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731419AbhAOHbQ (ORCPT ); Fri, 15 Jan 2021 02:31:16 -0500 Received: by mail-qt1-f175.google.com with SMTP id r9so5420790qtp.11 for ; Thu, 14 Jan 2021 23:31:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IC6nYnjWq4nKpkNfzmQBFmOCWxCpv8qHmwxuE4KKiAQ=; b=nwOCjyw0zrqv+Abb4PRDiS5MaBv17+yyejzRpEjTk9lFxCAZCZqtsDFG8oj+HFogjl cquCmTpbBb7qViw85BSyLBGJwejF+J/LQ2ZPQyPeHe6VoyjMJ4841/TvSCwr1F0eZamu Kyz2ahZmHa+b5tfQsMswtYeb/Fljnmxpmp0CC3GhlYqwo6yGSCoCAJt8VKYthICxFU51 ljZs/H4L7g7qhzBTSo8WKHLwF3XGpenw9eXL3aUVoer8nhfAvTUaZQGgQuWaBzex1/sw RHWqKxfiTDXP6757yvf7yNayN+igl2Pw6fZP0mZ+Igzb57hk4A+pYsk2j15RKR9yD8ms L7rA== X-Gm-Message-State: AOAM533LQbSwhAFYGTCEn6crIb0T6i5UCFHrPN1mhhDGGknQyMrbZsP3 zPcPnIP4YFlmKwJgy/VAS+8tVEW0sIPuTns2JcA= X-Received: by 2002:ac8:4711:: with SMTP id f17mr2263591qtp.256.1610695834700; Thu, 14 Jan 2021 23:30:34 -0800 (PST) MIME-Version: 1.0 References: <20210114154646.209024-1-leo.yan@linaro.org> In-Reply-To: <20210114154646.209024-1-leo.yan@linaro.org> From: Namhyung Kim Date: Fri, 15 Jan 2021 16:30:23 +0900 Message-ID: Subject: Re: [PATCH v4 0/6] perf c2c: Code refactoring To: Leo Yan Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Joe Mario , David Ahern , Don Zickus , Joe Perches , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Fri, Jan 15, 2021 at 12:46 AM Leo Yan wrote: > > This patch series is for several minor code refactoring, which is > extracted from the patch series "perf c2c: Sort cacheline with all > loads" [1]. > > There has a known issue for Arm SPE store operations and Arm SPE is > the only consumer for soring with all loads, this is the reason in this > series drops the changes for dimensions and sorting, and only extracts > the patches related with code refactoring. So this series doesn't > introduce any functionality change. > > The patches have been tested on x86_64 and compared the result before > and after applying the patches, and confirmed no difference for the > output result. > > Changes from v3: > * Refined patch 03/06 to remove unnecessary parentheses and test and > return early in the function filter_display() (Joe Perches); > * Added new patch 04/06 to make argument type as u32 for percent(). > > Changes from v2: > * Changed to use static functions to replace macros (Namhyung); > * Added Jiri's Ack tags in the unchanged patches; > * Minor improvement in the commit logs. > > [1] https://lore.kernel.org/patchwork/cover/1353064/ > > > Leo Yan (6): > perf c2c: Rename for shared cache line stats > perf c2c: Refactor hist entry validation > perf c2c: Refactor display filter > perf c2c: Fix argument type for percent() > perf c2c: Refactor node display > perf c2c: Add local variables for output metrics Acked-by: Namhyung Kim Thanks, Namhyung