Go to the documentation of this file.
9 #include <uapi/asm/ptrace.h>
65 #define PER_EVENT_MASK 0xEB000000UL
67 #define PER_EVENT_BRANCH 0x80000000UL
68 #define PER_EVENT_IFETCH 0x40000000UL
69 #define PER_EVENT_STORE 0x20000000UL
70 #define PER_EVENT_STORE_REAL 0x08000000UL
71 #define PER_EVENT_TRANSACTION_END 0x02000000UL
72 #define PER_EVENT_NULLIFICATION 0x01000000UL
74 #define PER_CONTROL_MASK 0x00e00000UL
76 #define PER_CONTROL_BRANCH_ADDRESS 0x00800000UL
77 #define PER_CONTROL_SUSPENSION 0x00400000UL
78 #define PER_CONTROL_ALTERATION 0x00200000UL
85 #define arch_has_single_step() (1)
87 #define user_mode(regs) (((regs)->psw.mask & PSW_MASK_PSTATE) != 0)
88 #define instruction_pointer(regs) ((regs)->psw.addr & PSW_ADDR_INSN)
89 #define user_stack_pointer(regs)((regs)->gprs[15])
90 #define profile_pc(regs) instruction_pointer(regs)
92 static inline long regs_return_value(
struct pt_regs *
regs)