diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-05-28 23:09:12 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-06-04 17:11:18 -0400 |
commit | 867e359b97c970a60626d5d76bbe2a8fadbf38fb (patch) | |
tree | c5ccbb7f5172e8555977119608ecb1eee3cc37e3 /arch/tile/Kconfig.debug | |
parent | 5360bd776f73d0a7da571d72a09a03f237e99900 (diff) |
arch/tile: core support for Tilera 32-bit chips.
This change is the core kernel support for TILEPro and TILE64 chips.
No driver support (except the console driver) is included yet.
This includes the relevant Linux headers in asm/; the low-level
low-level "Tile architecture" headers in arch/, which are
shared with the hypervisor, etc., and are build-system agnostic;
and the relevant hypervisor headers in hv/.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/tile/Kconfig.debug')
-rw-r--r-- | arch/tile/Kconfig.debug | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/tile/Kconfig.debug b/arch/tile/Kconfig.debug new file mode 100644 index 000000000000..a81f0fbf7e60 --- /dev/null +++ b/arch/tile/Kconfig.debug | |||
@@ -0,0 +1,43 @@ | |||
1 | menu "Kernel hacking" | ||
2 | |||
3 | source "lib/Kconfig.debug" | ||
4 | |||
5 | config EARLY_PRINTK | ||
6 | bool "Early printk" if EMBEDDED && DEBUG_KERNEL | ||
7 | default y | ||
8 | help | ||
9 | Write kernel log output directly via the hypervisor console. | ||
10 | |||
11 | This is useful for kernel debugging when your machine crashes very | ||
12 | early before the console code is initialized. For normal operation | ||
13 | it is not recommended because it looks ugly and doesn't cooperate | ||
14 | with klogd/syslogd. You should normally N here, | ||
15 | unless you want to debug such a crash. | ||
16 | |||
17 | config DEBUG_STACKOVERFLOW | ||
18 | bool "Check for stack overflows" | ||
19 | depends on DEBUG_KERNEL | ||
20 | help | ||
21 | This option will cause messages to be printed if free stack space | ||
22 | drops below a certain limit. | ||
23 | |||
24 | config DEBUG_STACK_USAGE | ||
25 | bool "Stack utilization instrumentation" | ||
26 | depends on DEBUG_KERNEL | ||
27 | help | ||
28 | Enables the display of the minimum amount of free stack which each | ||
29 | task has ever had available in the sysrq-T and sysrq-P debug output. | ||
30 | |||
31 | This option will slow down process creation somewhat. | ||
32 | |||
33 | config DEBUG_EXTRA_FLAGS | ||
34 | string "Additional compiler arguments when building with '-g'" | ||
35 | depends on DEBUG_INFO | ||
36 | default "" | ||
37 | help | ||
38 | Debug info can be large, and flags like | ||
39 | `-femit-struct-debug-baseonly' can reduce the kernel file | ||
40 | size and build time noticeably. Such flags are often | ||
41 | helpful if the main use of debug info is line number info. | ||
42 | |||
43 | endmenu | ||