diff options
author | Helge Deller <deller@gmx.de> | 2016-04-13 23:27:22 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-04-14 18:47:19 +0300 |
commit | 366dd4ea9d5f0eb78fdf4982d76506f99480ec0a (patch) | |
tree | a1540803a33b13685a1fe2e3fa8af13bc2e7f018 /arch/parisc/Kconfig.debug | |
parent | b562e44f507e863c6792946e4e1b1449fbbac85d (diff) | |
download | linux-366dd4ea9d5f0eb78fdf4982d76506f99480ec0a.tar.xz |
parisc: Fix ftrace function tracer
Fix the FTRACE function tracer for 32- and 64-bit kernel.
The former code was horribly broken.
Reimplement most coding in assembly and utilize optimizations, e.g. put
mcount() and ftrace_stub() into one L1 cacheline.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/Kconfig.debug')
-rw-r--r-- | arch/parisc/Kconfig.debug | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/parisc/Kconfig.debug b/arch/parisc/Kconfig.debug index bc989e522a04..68b7cbd0810a 100644 --- a/arch/parisc/Kconfig.debug +++ b/arch/parisc/Kconfig.debug @@ -2,9 +2,13 @@ menu "Kernel hacking" source "lib/Kconfig.debug" +config TRACE_IRQFLAGS_SUPPORT + def_bool y + config DEBUG_RODATA bool "Write protect kernel read-only data structures" depends on DEBUG_KERNEL + default y help Mark the kernel read-only data as write-protected in the pagetables, in order to catch accidental (and incorrect) writes to such const |