]> git.baikalelectronics.ru Git - kernel.git/commit
x86: cpu architecture debug code
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Tue, 10 Mar 2009 10:07:51 +0000 (15:37 +0530)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Mar 2009 17:39:45 +0000 (18:39 +0100)
commit2d089def25c9c2a89f0efded3c2a737332082ec3
tree9fcf07194173c6cb031b49a342a865599ea5910c
parent3e92a0329ef4abf1f263e74813f6cbbd79bb51ea
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>
arch/x86/Kconfig
arch/x86/include/asm/cpu_debug.h [new file with mode: 0755]
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/cpu_debug.c [new file with mode: 0755]