diff options
author | Joel Stanley <joel@jms.id.au> | 2017-12-14 07:20:15 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-01-18 18:43:01 +0300 |
commit | d6d3d532392971a04fdf53c6152109aee11d03fd (patch) | |
tree | 7524d4f036f72f6baf6d7fcd1462dcf961eaeb9a /meta-openbmc-bsp | |
parent | e252c319c9aaa4a1d6eb9a73b21361bebb7e88f9 (diff) | |
download | openbmc-d6d3d532392971a04fdf53c6152109aee11d03fd.tar.xz |
Enable perf in obmc-phosphor-debugtools
This enables the userspace 'perf' tool and the corresponding kernel
configuration.
PERF_EVENTS is enabled on ast2500. It was already enabled on ast2400.
TIMER_STATS is enabled. This has low runtime impact when not enabled. It
defaults to off.
Change-Id: Iac1761aec999679b611e9bf9b51d0fe585d7ac5c
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'meta-openbmc-bsp')
-rw-r--r-- | meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig | 3 | ||||
-rw-r--r-- | meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig index 49e9370dd..71e6d27db 100644 --- a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig @@ -149,9 +149,9 @@ CONFIG_SENSORS_OCC_P8_I2C=y CONFIG_PMBUS=y # CONFIG_SENSORS_PMBUS is not set CONFIG_SENSORS_ADM1275=y +CONFIG_SENSORS_IBM_CFFPS=y CONFIG_SENSORS_LM25066=y CONFIG_SENSORS_MAX31785=y -CONFIG_SENSORS_IBM_CFFPS=y CONFIG_SENSORS_UCD9000=y CONFIG_SENSORS_TMP421=y # CONFIG_HID is not set @@ -200,6 +200,7 @@ CONFIG_LOCKUP_DETECTOR=y CONFIG_WQ_WATCHDOG=y CONFIG_PANIC_TIMEOUT=-1 # CONFIG_SCHED_DEBUG is not set +CONFIG_TIMER_STATS=y CONFIG_FUNCTION_TRACER=y # CONFIG_TRACING_EVENTS_GPIO is not set # CONFIG_CRYPTO_ECHAINIV is not set diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig index 10dc73146..87dd3ad2f 100644 --- a/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig @@ -11,10 +11,10 @@ CONFIG_BLK_DEV_INITRD=y # CONFIG_RD_BZIP2 is not set # CONFIG_RD_LZO is not set # CONFIG_RD_LZ4 is not set -CONFIG_KALLSYMS_ALL=y CONFIG_BPF_SYSCALL=y # CONFIG_AIO is not set CONFIG_EMBEDDED=y +CONFIG_PERF_EVENTS=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y CONFIG_JUMP_LABEL=y @@ -148,10 +148,10 @@ CONFIG_SENSORS_OCC=y CONFIG_SENSORS_OCC_P9_SBE=y CONFIG_PMBUS=y CONFIG_SENSORS_ADM1275=y +CONFIG_SENSORS_IBM_CFFPS=y CONFIG_SENSORS_IR35221=y CONFIG_SENSORS_LM25066=y CONFIG_SENSORS_MAX31785=y -CONFIG_SENSORS_IBM_CFFPS=y CONFIG_SENSORS_UCD9000=y CONFIG_SENSORS_UCD9200=y CONFIG_SENSORS_TMP421=y @@ -207,8 +207,8 @@ CONFIG_STRIP_ASM_SYMS=y CONFIG_LOCKUP_DETECTOR=y CONFIG_WQ_WATCHDOG=y CONFIG_PANIC_TIMEOUT=-1 -# CONFIG_SCHED_DEBUG is not set CONFIG_SCHED_STACK_END_CHECK=y +CONFIG_TIMER_STATS=y CONFIG_FUNCTION_TRACER=y # CONFIG_TRACING_EVENTS_GPIO is not set CONFIG_DEBUG_USER=y |