aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/files/features/powertop
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/files/features/powertop')
-rw-r--r--recipes-kernel/linux/files/features/powertop/powertop.cfg2
-rw-r--r--recipes-kernel/linux/files/features/powertop/powertop.scc6
2 files changed, 8 insertions, 0 deletions
diff --git a/recipes-kernel/linux/files/features/powertop/powertop.cfg b/recipes-kernel/linux/files/features/powertop/powertop.cfg
new file mode 100644
index 0000000..36e6fb1
--- /dev/null
+++ b/recipes-kernel/linux/files/features/powertop/powertop.cfg
@@ -0,0 +1,2 @@
+# for powertop
+CONFIG_TIMER_STATS=y
diff --git a/recipes-kernel/linux/files/features/powertop/powertop.scc b/recipes-kernel/linux/files/features/powertop/powertop.scc
new file mode 100644
index 0000000..4661a0f
--- /dev/null
+++ b/recipes-kernel/linux/files/features/powertop/powertop.scc
@@ -0,0 +1,6 @@
+define KFEATURE_DESCRIPTION "Enable powertop + profiling"
+define KFEATURE_COMPATIBILITY arch
+
+include features/profiling/profiling.scc
+
+kconf non-hardware powertop.cfg