diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2008-01-30 07:31:09 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:09 -0500 |
commit | eee3af4a2c83a97fff107ddc445d9df6fded9ce4 (patch) | |
tree | a7e9179b82b4df9e4cf6e810c54309324589395b /include/asm-x86/processor_32.h | |
parent | 7796931f542518092d1fd2fb7cf1f1d96e0cd4b5 (diff) |
x86, ptrace: support for branch trace store(BTS)
Resend using different mail client
Changes to the last version:
- split implementation into two layers: ds/bts and ptrace
- renamed TIF's
- save/restore ds save area msr in __switch_to_xtra()
- make block-stepping only look at BTF bit
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/processor_32.h')
-rw-r--r-- | include/asm-x86/processor_32.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/processor_32.h b/include/asm-x86/processor_32.h index 0d83da198127..9c0ab7f26bd9 100644 --- a/include/asm-x86/processor_32.h +++ b/include/asm-x86/processor_32.h | |||
@@ -360,6 +360,9 @@ struct thread_struct { | |||
360 | unsigned long io_bitmap_max; | 360 | unsigned long io_bitmap_max; |
361 | /* MSR_IA32_DEBUGCTLMSR value to switch in if TIF_DEBUGCTLMSR is set. */ | 361 | /* MSR_IA32_DEBUGCTLMSR value to switch in if TIF_DEBUGCTLMSR is set. */ |
362 | unsigned long debugctlmsr; | 362 | unsigned long debugctlmsr; |
363 | /* Debug Store - if not 0 points to a DS Save Area configuration; | ||
364 | * goes into MSR_IA32_DS_AREA */ | ||
365 | unsigned long ds_area_msr; | ||
363 | }; | 366 | }; |
364 | 367 | ||
365 | #define INIT_THREAD { \ | 368 | #define INIT_THREAD { \ |