]> err.no Git - linux-2.6/blobdiff - include/asm-x86/ptrace-abi.h
task IO accounting: move all IO statistics in struct task_io_accounting
[linux-2.6] / include / asm-x86 / ptrace-abi.h
index 08a12b790a7799c77ffe10c2c340713f161610ce..72e7b9db29bba0e2cb736d86281ab4f7c24cdd1d 100644 (file)
 
 #ifdef __x86_64__
 # define PTRACE_ARCH_PRCTL       30
-#else
-# define PTRACE_SYSEMU           31
-# define PTRACE_SYSEMU_SINGLESTEP 32
 #endif
 
+#define PTRACE_SYSEMU            31
+#define PTRACE_SYSEMU_SINGLESTEP  32
+
 #define PTRACE_SINGLEBLOCK     33      /* resume execution until next branch */
 
 #ifndef __ASSEMBLY__
+
+#include <asm/types.h>
+
 /* configuration/status structure used in PTRACE_BTS_CONFIG and
    PTRACE_BTS_STATUS commands.
 */
 struct ptrace_bts_config {
        /* requested or actual size of BTS buffer in bytes */
-       unsigned int size;
+       __u32 size;
        /* bitmask of below flags */
-       unsigned int flags;
+       __u32 flags;
        /* buffer overflow signal */
-       unsigned int signal;
+       __u32 signal;
+       /* actual size of bts_struct in bytes */
+       __u32 bts_size;
 };
 #endif