diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-23 17:13:02 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-12-11 10:53:13 +0100 |
commit | 1fd15b879d0075c8916e52fb9e52522827433d1f (patch) | |
tree | a9f950c9dd0eaf9de3c7d359d20bca783564630f /arch/arm/Kconfig.debug | |
parent | Linux 3.13-rc1 (diff) | |
download | linux-1fd15b879d0075c8916e52fb9e52522827433d1f.tar.xz linux-1fd15b879d0075c8916e52fb9e52522827433d1f.zip |
ARM: add support to dump the kernel page tables
This patch allows the kernel page tables to be dumped via a debugfs file,
allowing kernel developers to check the layout of the kernel page tables
and the verify the various permissions and type settings.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r-- | arch/arm/Kconfig.debug | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 5765abf5ce84..0603a6a53902 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -2,6 +2,18 @@ menu "Kernel hacking" source "lib/Kconfig.debug" +config ARM_PTDUMP + bool "Export kernel pagetable layout to userspace via debugfs" + depends on DEBUG_KERNEL + select DEBUG_FS + ---help--- + Say Y here if you want to show the kernel pagetable layout in a + debugfs file. This information is only useful for kernel developers + who are working in architecture specific areas of the kernel. + It is probably not a good idea to enable this feature in a production + kernel. + If in doubt, say "N" + config STRICT_DEVMEM bool "Filter access to /dev/mem" depends on MMU |