mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
x86: make ptrace.h safe to include from assembler code
Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
3aa88cdf6b
commit
27efeb6771
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,7 @@
|
|||
|
||||
#define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
/* configuration/status structure used in PTRACE_BTS_CONFIG and
|
||||
PTRACE_BTS_STATUS commands.
|
||||
*/
|
||||
|
@ -91,6 +92,7 @@ struct ptrace_bts_config {
|
|||
/* buffer overflow signal */
|
||||
unsigned int signal;
|
||||
};
|
||||
#endif
|
||||
|
||||
#define PTRACE_BTS_O_TRACE 0x1 /* branch trace */
|
||||
#define PTRACE_BTS_O_SCHED 0x2 /* scheduling events w/ jiffies */
|
||||
|
|
Loading…
Reference in a new issue