]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/ptrace-abi.h
Merge branch 'slab-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm
[linux-2.6-omap-h63xx.git] / include / asm-x86 / ptrace-abi.h
index bcf67044754cd75d33716c064847936fe9dbd9da..81a8ee4c55fc50a941373d5c16de01da455bdee7 100644 (file)
 
 #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 */
+       u32 signal;
+       /* actual size of bts_struct in bytes */
+       u32 bts_size;
 };
+#endif
 
 #define PTRACE_BTS_O_TRACE     0x1 /* branch trace */
 #define PTRACE_BTS_O_SCHED     0x2 /* scheduling events w/ jiffies */
-#define PTRACE_BTS_O_SIGNAL     0x4 /* send SIG? on buffer overflow
+#define PTRACE_BTS_O_SIGNAL     0x4 /* send SIG<signal> on buffer overflow
                                       instead of wrapping around */
 #define PTRACE_BTS_O_CUT_SIZE  0x8 /* cut requested size to max available
                                       instead of failing */