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>
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 49e9370..71e6d27 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_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_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