ARM: 5902/4: arm/perfevents: implement perf event support for ARMv6
[linux-2.6-block.git] / arch / sparc / Kconfig.debug
CommitLineData
1da177e4
LT
1menu "Kernel hacking"
2
e8dd1612
RR
3config TRACE_IRQFLAGS_SUPPORT
4 bool
5 default y
6
1da177e4
LT
7source "lib/Kconfig.debug"
8
9config DEBUG_STACK_USAGE
10 bool "Enable stack utilization instrumentation"
11 depends on DEBUG_KERNEL
12 help
13 Enables the display of the minimum amount of free stack which each
14 task has ever had available in the sysrq-T and sysrq-P debug output.
15
16 This option will slow down process creation somewhat.
17
5bb28a57
SR
18config DEBUG_DCFLUSH
19 bool "D-cache flush debugging"
20 depends on SPARC64 && DEBUG_KERNEL
21
22config STACK_DEBUG
23 bool "Stack Overflow Detection Support"
24
5bb28a57
SR
25config MCOUNT
26 bool
27 depends on SPARC64
28 depends on STACK_DEBUG || FUNCTION_TRACER
29 default y
30
31config FRAME_POINTER
32 bool
33 depends on MCOUNT
34 default y
35
fb34035e
DM
36config DEBUG_STRICT_USER_COPY_CHECKS
37 bool "Strict copy size checks"
38 depends on DEBUG_KERNEL && !TRACE_BRANCH_PROFILING
39 ---help---
40 Enabling this option turns a certain set of sanity checks for user
41 copy operations into compile time failures.
42
43 The copy_from_user() etc checks are there to help test if there
44 are sufficient security checks on the length argument of
45 the copy operation, by having gcc prove that the argument is
46 within bounds.
47
48 If unsure, or if you run an older (pre 4.4) gcc, say N.
49
1da177e4 50endmenu