aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/ptrace-abi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/ptrace-abi.h')
-rw-r--r--include/asm-x86/ptrace-abi.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/include/asm-x86/ptrace-abi.h b/include/asm-x86/ptrace-abi.h
index 6fadc5214e14..b473ad45e9ca 100644
--- a/include/asm-x86/ptrace-abi.h
+++ b/include/asm-x86/ptrace-abi.h
@@ -99,32 +99,27 @@
99 ENXIO........no buffer allocated */ 99 ENXIO........no buffer allocated */
100#define PTRACE_BTS_GET_BUFFER_SIZE 42 100#define PTRACE_BTS_GET_BUFFER_SIZE 42
101 101
102/* Return the index of the next bts record to be written, 102/* Read the DATA'th bts record into a ptrace_bts_record buffer
103 if successful; -1, otherwise. 103 provided in ADDR.
104 EOPNOTSUPP...processor does not support bts tracing 104 Records are ordered from newest to oldest.
105 ENXIO........no buffer allocated
106 After the first warp-around, this is the start of the circular bts buffer. */
107#define PTRACE_BTS_GET_INDEX 43
108
109/* Read the DATA'th bts record into a ptrace_bts_record buffer provided in ADDR.
110 Return 0, if successful; -1, otherwise 105 Return 0, if successful; -1, otherwise
111 EOPNOTSUPP...processor does not support bts tracing 106 EOPNOTSUPP...processor does not support bts tracing
112 ENXIO........no buffer allocated 107 ENXIO........no buffer allocated
113 EINVAL.......invalid index */ 108 EINVAL.......invalid index */
114#define PTRACE_BTS_READ_RECORD 44 109#define PTRACE_BTS_READ_RECORD 43
115 110
116/* Configure last branch trace; the configuration is given as a bit-mask of 111/* Configure last branch trace; the configuration is given as a bit-mask of
117 PTRACE_BTS_O_* options in DATA; parameter ADDR is ignored. 112 PTRACE_BTS_O_* options in DATA; parameter ADDR is ignored.
118 Return 0, if successful; -1, otherwise 113 Return 0, if successful; -1, otherwise
119 EOPNOTSUPP...processor does not support bts tracing 114 EOPNOTSUPP...processor does not support bts tracing
120 ENXIO........no buffer allocated */ 115 ENXIO........no buffer allocated */
121#define PTRACE_BTS_CONFIG 45 116#define PTRACE_BTS_CONFIG 44
122 117
123/* Return the configuration as bit-mask of PTRACE_BTS_O_* options 118/* Return the configuration as bit-mask of PTRACE_BTS_O_* options
124 if successful; -1, otherwise. 119 if successful; -1, otherwise.
125 EOPNOTSUPP...processor does not support bts tracing 120 EOPNOTSUPP...processor does not support bts tracing
126 ENXIO........no buffer allocated */ 121 ENXIO........no buffer allocated */
127#define PTRACE_BTS_STATUS 46 122#define PTRACE_BTS_STATUS 45
128 123
129/* Trace configuration options */ 124/* Trace configuration options */
130/* Collect last branch trace */ 125/* Collect last branch trace */