Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a88f74ea authored by Murali Nalajala's avatar Murali Nalajala
Browse files

msm: rq_stats: move run queue stat driver to new location



This patch moves msm_rq_stats driver from mach-msm directory
to machine independent location in a kernel tree.

Change-Id: Ibdd5afac92c81c3b31719f9e824ed81a5337b371
Signed-off-by: default avatarMurali Nalajala <mnalajal@codeaurora.org>
parent 73116956
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -871,14 +871,6 @@ config MSM_DLOAD_MODE
		make the kernel reboot on a kernel panic - that must be
		enabled via another mechanism.

config MSM_RUN_QUEUE_STATS
	bool "Enable collection and exporting of MSM Run Queue stats to userspace"
	default n
	help
	 This option enalbes statistics collection on Run Queue. A daemon
         in user mode, called MPDecision will be using this data to decide
         on when to switch off/on the other cores.

config MSM_STANDALONE_POWER_COLLAPSE
       bool "Enable standalone power collapse"
       default n
+0 −1
Original line number Diff line number Diff line
@@ -76,7 +76,6 @@ obj-$(CONFIG_ARCH_MSM8610) += gpiomux-v2.o gpiomux.o
obj-$(CONFIG_ARCH_APQ8084) += gpiomux-v2.o gpiomux.o
obj-$(CONFIG_ARCH_FSM9900) += gpiomux-v2.o gpiomux.o

obj-$(CONFIG_MSM_RUN_QUEUE_STATS) += msm_rq_stats.o
obj-$(CONFIG_MSM_NATIVE_RESTART) += restart.o

obj-$(CONFIG_MSM_CACHE_ERP) += cache_erp.o
+9 −0
Original line number Diff line number Diff line
@@ -147,6 +147,15 @@ config MSM_RPM_STATS_LOG
          the low power modes that RPM enters. The drivers outputs the message
          via a debugfs node.

config MSM_RUN_QUEUE_STATS
	bool "Enable collection and exporting of MSM Run Queue stats to userspace"
	default n
	help
	This option enables the driver to periodically collecting the statistics
	of kernel run queue information and calculate the load of the system.
	This information is exported to usespace via sysfs entries and userspace
	algorithms uses info and decide when to turn on/off the cpu cores.

config MSM_SMEM
	depends on REMOTE_SPINLOCK_MSM
	bool "MSM Shared Memory (SMEM)"
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ CFLAGS_scm.o :=$(call as-instr,.arch_extension sec,-DREQUIRES_SEC=1)

obj-y		+= qdsp6v2/

obj-$(CONFIG_MSM_RUN_QUEUE_STATS) += msm_rq_stats.o
obj-$(CONFIG_DEBUG_FS) += nohlt.o
obj-$(CONFIG_ARM64) += idle-v8.o
obj-$(CONFIG_CPU_V7) += idle-v7.o