diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-03-10 06:07:51 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-10 13:39:45 -0400 |
commit | 9b779edf4b97798d037bb44fca2719ac184d0f14 (patch) | |
tree | 9fcf07194173c6cb031b49a342a865599ea5910c /arch/x86/Kconfig | |
parent | 8c5dfd25519bf302ba43daa59976c4d675a594a7 (diff) |
x86: cpu architecture debug code
Introduce:
cat /sys/kernel/debug/x86/cpu/*
for Intel and AMD processors to view / debug the state of each CPU.
By using this we can debug whole range of registers and other
cpu information for debugging purpose and monitor how things
are changing.
This can be useful for developers as well as for users.
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
LKML-Reference: <1236701373.3387.4.camel@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 31758378bcd2..03f0a3aa43b1 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -931,6 +931,12 @@ config X86_CPUID | |||
931 | with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to | 931 | with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to |
932 | /dev/cpu/31/cpuid. | 932 | /dev/cpu/31/cpuid. |
933 | 933 | ||
934 | config X86_CPU_DEBUG | ||
935 | tristate "/sys/kernel/debug/x86/cpu/* - CPU Debug support" | ||
936 | ---help--- | ||
937 | If you select this option, this will provide various x86 CPUs | ||
938 | information through debugfs. | ||
939 | |||
934 | choice | 940 | choice |
935 | prompt "High Memory Support" | 941 | prompt "High Memory Support" |
936 | default HIGHMEM4G if !X86_NUMAQ | 942 | default HIGHMEM4G if !X86_NUMAQ |