diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-08-15 12:55:58 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-08-15 12:56:13 -0400 |
| commit | fa08661af834875c9bd6f7f0b1b9388dc72a6585 (patch) | |
| tree | c381fcfcfeb38515bfa93445c80ad9231343414d /init | |
| parent | 240ebbf81f149b11a31e060ebe5ee51a3c775360 (diff) | |
| parent | 64f1607ffbbc772685733ea63e6f7f4183df1b16 (diff) | |
Merge commit 'v2.6.31-rc6' into core/rcu
Merge reason: the branch was on pre-rc1 .30, update to latest.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init')
| -rw-r--r-- | init/Kconfig | 13 | ||||
| -rw-r--r-- | init/main.c | 6 |
2 files changed, 12 insertions, 7 deletions
diff --git a/init/Kconfig b/init/Kconfig index d10f31dfa0b2..25373cf32672 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
| @@ -932,6 +932,7 @@ menu "Performance Counters" | |||
| 932 | 932 | ||
| 933 | config PERF_COUNTERS | 933 | config PERF_COUNTERS |
| 934 | bool "Kernel Performance Counters" | 934 | bool "Kernel Performance Counters" |
| 935 | default y if PROFILING | ||
| 935 | depends on HAVE_PERF_COUNTERS | 936 | depends on HAVE_PERF_COUNTERS |
| 936 | select ANON_INODES | 937 | select ANON_INODES |
| 937 | help | 938 | help |
| @@ -953,9 +954,17 @@ config PERF_COUNTERS | |||
| 953 | Say Y if unsure. | 954 | Say Y if unsure. |
| 954 | 955 | ||
| 955 | config EVENT_PROFILE | 956 | config EVENT_PROFILE |
| 956 | bool "Tracepoint profile sources" | 957 | bool "Tracepoint profiling sources" |
| 957 | depends on PERF_COUNTERS && EVENT_TRACER | 958 | depends on PERF_COUNTERS && EVENT_TRACING |
| 958 | default y | 959 | default y |
| 960 | help | ||
| 961 | Allow the use of tracepoints as software performance counters. | ||
| 962 | |||
| 963 | When this is enabled, you can create perf counters based on | ||
| 964 | tracepoints using PERF_TYPE_TRACEPOINT and the tracepoint ID | ||
| 965 | found in debugfs://tracing/events/*/*/id. (The -e/--events | ||
| 966 | option to the perf tool can parse and interpret symbolic | ||
| 967 | tracepoints, in the subsystem:tracepoint_name format.) | ||
| 959 | 968 | ||
| 960 | endmenu | 969 | endmenu |
| 961 | 970 | ||
diff --git a/init/main.c b/init/main.c index 4870dfeb9ee5..2c5ade79eb81 100644 --- a/init/main.c +++ b/init/main.c | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | #include <linux/smp_lock.h> | 24 | #include <linux/smp_lock.h> |
| 25 | #include <linux/initrd.h> | 25 | #include <linux/initrd.h> |
| 26 | #include <linux/bootmem.h> | 26 | #include <linux/bootmem.h> |
| 27 | #include <linux/acpi.h> | ||
| 27 | #include <linux/tty.h> | 28 | #include <linux/tty.h> |
| 28 | #include <linux/gfp.h> | 29 | #include <linux/gfp.h> |
| 29 | #include <linux/percpu.h> | 30 | #include <linux/percpu.h> |
| @@ -88,11 +89,6 @@ extern void sbus_init(void); | |||
| 88 | extern void prio_tree_init(void); | 89 | extern void prio_tree_init(void); |
| 89 | extern void radix_tree_init(void); | 90 | extern void radix_tree_init(void); |
| 90 | extern void free_initmem(void); | 91 | extern void free_initmem(void); |
| 91 | #ifdef CONFIG_ACPI | ||
| 92 | extern void acpi_early_init(void); | ||
| 93 | #else | ||
| 94 | static inline void acpi_early_init(void) { } | ||
| 95 | #endif | ||
| 96 | #ifndef CONFIG_DEBUG_RODATA | 92 | #ifndef CONFIG_DEBUG_RODATA |
| 97 | static inline void mark_rodata_ro(void) { } | 93 | static inline void mark_rodata_ro(void) { } |
| 98 | #endif | 94 | #endif |
