[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210114154646.209024-1-leo.yan@linaro.org>
Date: Thu, 14 Jan 2021 23:46:40 +0800
From: Leo Yan <leo.yan@...aro.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Joe Mario <jmario@...hat.com>, David Ahern <dsahern@...il.com>,
Don Zickus <dzickus@...hat.com>, Joe Perches <joe@...ches.com>,
linux-kernel@...r.kernel.org
Cc: Leo Yan <leo.yan@...aro.org>
Subject: [PATCH v4 0/6] perf c2c: Code refactoring
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
tools/perf/builtin-c2c.c | 168 +++++++++++++++++++++++----------------
1 file changed, 99 insertions(+), 69 deletions(-)
--
2.25.1
Powered by blists - more mailing lists