public inbox for linux-perf-users@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch v6 0/4] Perf tools: Support eGPRs/SSP/SIMD registers sampling
@ 2026-02-09  8:35 Dapeng Mi
  2026-02-09  8:35 ` [Patch v6 1/4] perf headers: Sync with the kernel headers Dapeng Mi
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Dapeng Mi @ 2026-02-09  8:35 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Ian Rogers, Adrian Hunter, Alexander Shishkin
  Cc: linux-perf-users, linux-kernel, Zide Chen, Falcon Thomas,
	Dapeng Mi, Xudong Hao, Dapeng Mi

This patch-set adds sampling support for x86 eGPRs/SSP/SIMD registers in
perf tools base on the corresponding sampling support for eGPRs/SSP/SIMD
registers in kernel[1]. In previous version, these perf-tools patches
are integrated as a whole patch-set with the kernel patches, but it's
split and posted to an independent perf-tools patch-set for convenient
review.

Changes since v5:
- Split the sampling support for eGPRs/SSP registers and SIMD registers
  into 2 patches.
- Address Ian's comments including,
  * Convert the architecture dependent functions into regular
    architectural independent functions, like whatperf_reg_name() does.
  * Refine the functions name to represent what the functions really do.
  * Add comments for some key functions arguments.
  * Misc enhancements.

History:
v5: https://lore.kernel.org/all/20251203065500.2597594-1-dapeng1.mi@linux.intel.com/
v4: https://lore.kernel.org/all/20250925061213.178796-1-dapeng1.mi@linux.intel.com/
v3: https://lore.kernel.org/lkml/20250815213435.1702022-1-kan.liang@linux.intel.com/
v2: https://lore.kernel.org/lkml/20250626195610.405379-1-kan.liang@linux.intel.com/
v1: https://lore.kernel.org/lkml/20250613134943.3186517-1-kan.liang@linux.intel.com/

Ref:
[1] Kernel patches of supporting eGPRs/SSP/SIMD registers sampling:
https://lore.kernel.org/all/20260209072047.2180332-1-dapeng1.mi@linux.intel.com/

Dapeng Mi (2):
  perf regs: Support x86 eGPRs/SSP sampling
  perf regs: Support x86 SIMD registers sampling

Kan Liang (2):
  perf headers: Sync with the kernel headers
  perf regs: Enable dumping of SIMD registers

 tools/arch/x86/include/uapi/asm/perf_regs.h   |  49 +++
 tools/include/uapi/linux/perf_event.h         |  45 +-
 tools/perf/builtin-script.c                   |   2 +-
 tools/perf/util/evsel.c                       |  53 ++-
 tools/perf/util/parse-regs-options.c          | 168 ++++++-
 .../perf/util/perf-regs-arch/perf_regs_x86.c  | 412 +++++++++++++++++-
 tools/perf/util/perf_event_attr_fprintf.c     |   6 +
 tools/perf/util/perf_regs.c                   |  86 +++-
 tools/perf/util/perf_regs.h                   |  21 +-
 tools/perf/util/record.h                      |   6 +
 tools/perf/util/sample.h                      |  10 +
 .../scripting-engines/trace-event-python.c    |   2 +-
 tools/perf/util/session.c                     |  86 +++-
 13 files changed, 888 insertions(+), 58 deletions(-)


base-commit: 335047109d7d488bf5ad32a4076e1a011994cd0e
-- 
2.34.1


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

end of thread, other threads:[~2026-02-10  6:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-09  8:35 [Patch v6 0/4] Perf tools: Support eGPRs/SSP/SIMD registers sampling Dapeng Mi
2026-02-09  8:35 ` [Patch v6 1/4] perf headers: Sync with the kernel headers Dapeng Mi
2026-02-09 22:09   ` Ian Rogers
2026-02-10  5:21     ` Mi, Dapeng
2026-02-09  8:35 ` [Patch v6 2/4] perf regs: Support x86 eGPRs/SSP sampling Dapeng Mi
2026-02-09 22:36   ` Ian Rogers
2026-02-10  5:35     ` Mi, Dapeng
2026-02-09  8:35 ` [Patch v6 3/4] perf regs: Support x86 SIMD registers sampling Dapeng Mi
2026-02-09 22:39   ` Ian Rogers
2026-02-09  8:35 ` [Patch v6 4/4] perf regs: Enable dumping of SIMD registers Dapeng Mi
2026-02-09 23:02   ` Ian Rogers
2026-02-10  6:11     ` Mi, Dapeng

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