summaryrefslogtreecommitdiff
path: root/kernel/events
diff options
context:
space:
mode:
authorDapeng Mi <dapeng1.mi@linux.intel.com>2026-08-24 16:27:24 +0800
committerPeter Zijlstra <peterz@infradead.org>2026-09-02 13:10:45 +0200
commit74d55a827e31bc8a75fbc530951c6266d043ecc0 (patch)
tree64cbe1eaf9952ba1acefaea99af406f0550322c9 /kernel/events
parent3807f6996a0bd9515ff69f3040d6e47f7b20e7a5 (diff)
perf/x86: Support OPMASK sampling using sample_simd_pred_reg_* fields
Support sampling of OPMASK registers via the sample_simd_pred_reg_* fields. Each OPMASK register consists of 1 u64 word. Current x86 hardware supports 8 OPMASK registers. The perf_simd_reg_value() function is responsible for outputting OPMASK value to userspace. Additionally, sample_simd_pred_reg_qwords should be set to 1 to indicate OPMASK sampling. OPMASK sampling will be enabled in a subsequent patch that sets PERF_PMU_CAP_SIMD_REGS. Co-developed-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260824082731.1013973-17-dapeng1.mi@linux.intel.com
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions