Skip to content

Commit 9b3f148

Browse files
committed
ARM: rockchip_defconfig: enable CONFIG_MEMORY_STATE_TIME
f3d9c31 ("Implement memory_state_time, used by qcom,cpubw") New driver memory_state_time tracks time spent in different DDR frequency and bandwidth states. Memory drivers such as qcom,cpubw can post updated state to the driver after registering a callback. Processed by a workqueue Bandwidth buckets are read in from device tree in the relevant qualcomm section, can be defined in any quantity and spacing. The data is exposed at /sys/kernel/memory_state_time, able to be read by the Android framework. Functionality is behind a config option CONFIG_MEMORY_STATE_TIME Change-Id: Ic3b0b631efd697713360f193ede440cd9ad3bc29 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
1 parent 319ff36 commit 9b3f148

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm/configs/rockchip_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ CONFIG_BLK_DEV_RAM_SIZE=8192
222222
CONFIG_ROCKCHIP_SCR=y
223223
CONFIG_SRAM=y
224224
CONFIG_UID_SYS_STATS=y
225+
CONFIG_MEMORY_STATE_TIME=y
225226
CONFIG_USB_CAM_GPIO=y
226227
CONFIG_SCSI=y
227228
CONFIG_BLK_DEV_SD=y

0 commit comments

Comments
 (0)