diff options
author | dann <dann@xtensa-linux.org> | 2008-05-22 02:43:50 +0200 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-02-24 04:22:54 +0100 |
commit | e6ffe17ec45dd763ee8278246a112562f64a4ef2 (patch) | |
tree | 3efe66a318764e0aeab4385eb407ec597f1f9f9b /arch/xtensa/Kconfig | |
parent | xtensa: move spill_registers to traps.h (diff) | |
download | linux-e6ffe17ec45dd763ee8278246a112562f64a4ef2.tar.xz linux-e6ffe17ec45dd763ee8278246a112562f64a4ef2.zip |
xtensa: add support for oprofile
Support call graph profiling.
Keep upper two bits of PC unchanged through backtrace rather than take
them from sp (a1). The stack pointer is usually in the same GB (same
upper 2 bits) as PC, but technically doesn't always have to be (and
might not in the future, when taking full advantage of MMU v3).
Signed-off-by: Dan Nicolaescu <dann@xtensa-linux.org>
Signed-off-by: Pete Delaney <piet@tensilica.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r-- | arch/xtensa/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index f83780f8f290..f61f7362c8f6 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -17,6 +17,7 @@ config XTENSA select ARCH_WANT_OPTIONAL_GPIOLIB select CLONE_BACKWARDS select IRQ_DOMAIN + select HAVE_OPROFILE help Xtensa processors are 32-bit RISC machines designed by Tensilica primarily for embedded systems. These processors are both |