mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
8c5dfd2551
commit
9b779edf4b
4 changed files with 985 additions and 0 deletions
193
arch/x86/include/asm/cpu_debug.h
Executable file
193
arch/x86/include/asm/cpu_debug.h
Executable file
784
arch/x86/kernel/cpu/cpu_debug.c
Executable file
784
arch/x86/kernel/cpu/cpu_debug.c
Executable file
Loading…
Add table
Add a link
Reference in a new issue