public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/6] perf c2c: Code refactoring
@ 2021-01-14 15:46 Leo Yan
  2021-01-14 15:46 ` [PATCH v4 1/6] perf c2c: Rename for shared cache line stats Leo Yan
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Leo Yan @ 2021-01-14 15:46 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Jiri Olsa, Namhyung Kim, Peter Zijlstra,
	Ingo Molnar, Mark Rutland, Alexander Shishkin, Joe Mario,
	David Ahern, Don Zickus, Joe Perches, linux-kernel
  Cc: Leo Yan

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-01-15  8:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-14 15:46 [PATCH v4 0/6] perf c2c: Code refactoring Leo Yan
2021-01-14 15:46 ` [PATCH v4 1/6] perf c2c: Rename for shared cache line stats Leo Yan
2021-01-14 15:46 ` [PATCH v4 2/6] perf c2c: Refactor hist entry validation Leo Yan
2021-01-14 15:46 ` [PATCH v4 3/6] perf c2c: Refactor display filter Leo Yan
2021-01-14 15:46 ` [PATCH v4 4/6] perf c2c: Fix argument type for percent() Leo Yan
2021-01-14 15:46 ` [PATCH v4 5/6] perf c2c: Refactor node display Leo Yan
2021-01-14 15:46 ` [PATCH v4 6/6] perf c2c: Add local variables for output metrics Leo Yan
2021-01-15  7:30 ` [PATCH v4 0/6] perf c2c: Code refactoring Namhyung Kim
2021-01-15  8:44 ` Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox