diff --git a/include/asm-x86/ptrace-abi.h b/include/asm-x86/ptrace-abi.h index bcf67044754c..b3b9e023afce 100644 --- a/include/asm-x86/ptrace-abi.h +++ b/include/asm-x86/ptrace-abi.h @@ -88,11 +88,13 @@ struct ptrace_bts_config { unsigned int size; /* bitmask of below flags */ unsigned int flags; + /* buffer overflow signal */ + unsigned int signal; }; #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 on buffer overflow instead of wrapping around */ #define PTRACE_BTS_O_CUT_SIZE 0x8 /* cut requested size to max available instead of failing */