aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/uapi
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2017-11-08 06:30:15 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-11-16 14:06:14 (GMT)
commit0da0017f72554c005c1a04c3adc5da9eb64fa7e5 (patch)
treecaca91b7cc8c47786c3c617c7a311c7e4f4bd1a0 /arch/s390/include/uapi
parenta9fc2db0a8abf51c81122799c5ae4808f2324b6d (diff)
s390/perf: extend perf_regs support to include floating-point registers
Extend the perf register support to also export floating-point register contents for user space tasks. Floating-point registers might be used in leaf functions to contain the return address. Hence, they are required for proper DWARF unwinding. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Reviewed-and-tested-by: Thomas Richter <tmricht@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/uapi')
-rw-r--r--arch/s390/include/uapi/asm/perf_regs.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/s390/include/uapi/asm/perf_regs.h b/arch/s390/include/uapi/asm/perf_regs.h
index f84ea6a..7c8564f 100644
--- a/arch/s390/include/uapi/asm/perf_regs.h
+++ b/arch/s390/include/uapi/asm/perf_regs.h
@@ -18,6 +18,22 @@ enum perf_event_s390_regs {
PERF_REG_S390_R13,
PERF_REG_S390_R14,
PERF_REG_S390_R15,
+ PERF_REG_S390_FP0,
+ PERF_REG_S390_FP1,
+ PERF_REG_S390_FP2,
+ PERF_REG_S390_FP3,
+ PERF_REG_S390_FP4,
+ PERF_REG_S390_FP5,
+ PERF_REG_S390_FP6,
+ PERF_REG_S390_FP7,
+ PERF_REG_S390_FP8,
+ PERF_REG_S390_FP9,
+ PERF_REG_S390_FP10,
+ PERF_REG_S390_FP11,
+ PERF_REG_S390_FP12,
+ PERF_REG_S390_FP13,
+ PERF_REG_S390_FP14,
+ PERF_REG_S390_FP15,
PERF_REG_S390_MASK,
PERF_REG_S390_PC,

Privacy Policy