linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] perf: arm-spe: Decode SPE source and use for perf c2c
@ 2022-02-21 22:28 Ali Saidi
  0 siblings, 0 replies; only message in thread
From: Ali Saidi @ 2022-02-21 22:28 UTC (permalink / raw)
  To: linux-kernel, linux-perf-users, linux-arm-kernel, german.gomez, leo.yan
  Cc: alisaidi, benh, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Mark Rutland, Alexander Shishkin,
	Jiri Olsa, Namhyung Kim, John Garry, Will Deacon,
	Mathieu Poirier, James Clark, Andrew Kilroy, Jin Yao, Kajol Jain,
	Li Huafei

When synthesizing data from SPE, augment the type with source information
for Arm Neoverse cores so we can detect situtions like cache line contention
and transfers on Arm platforms. 

This changes enables the expected behavior of perf c2c on a system with SPE where
lines that are shared among multiple cores show up in perf c2c output. 

These changes switch to use mem_lvl_num to encode the level information instead
of mem_lvl which is being deprecated, but I haven't found other users of
mem_lvl_num. 

Changes in v2:
  * Split the synht_data_source functions into a generic and neoverse version
  * Use mem_lvl_num instead of mem_lvl
  * Modify c2c to support mem_lvl_num + HITM

Ali Saidi (2):
  perf arm-spe: Use SPE data source for neoverse cores
  perf mem: Support HITM for when mem_lvl_num is used

 .../util/arm-spe-decoder/arm-spe-decoder.c    |   1 +
 .../util/arm-spe-decoder/arm-spe-decoder.h    |  12 ++
 tools/perf/util/arm-spe.c                     | 106 +++++++++++++++---
 tools/perf/util/mem-events.c                  |  14 ++-
 4 files changed, 114 insertions(+), 19 deletions(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-21 22:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-21 22:28 [PATCH v2 0/2] perf: arm-spe: Decode SPE source and use for perf c2c Ali Saidi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).