summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Farina <zerochaos@gentoo.org>2013-04-08 01:48:26 +0000
committerRichard Farina <zerochaos@gentoo.org>2013-04-08 01:48:26 +0000
commit5727fcbaf6b90ac28090d99b4655bafd76ca99f4 (patch)
treee9c0f899a2ab6e48bbe1c27228127d3702a3c873 /sys-power
parentSome minor cleanups (diff)
downloadhistorical-5727fcbaf6b90ac28090d99b4655bafd76ca99f4.tar.gz
historical-5727fcbaf6b90ac28090d99b4655bafd76ca99f4.tar.bz2
historical-5727fcbaf6b90ac28090d99b4655bafd76ca99f4.zip
bug #464792 has been a hotbed of possible improvements, hopefully this is an improvement
Package-Manager: portage-2.1.11.55/cvs/Linux x86_64 Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/powertop/ChangeLog7
-rw-r--r--sys-power/powertop/Manifest32
-rw-r--r--sys-power/powertop/powertop-2.3.ebuild75
-rw-r--r--sys-power/powertop/powertop-9999.ebuild75
4 files changed, 98 insertions, 91 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog
index 97502785cabe..c83a88645941 100644
--- a/sys-power/powertop/ChangeLog
+++ b/sys-power/powertop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/powertop
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.79 2013/04/07 18:31:33 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.80 2013/04/08 01:47:55 zerochaos Exp $
+
+ 08 Apr 2013; Rick Farina <zerochaos@gentoo.org> powertop-2.3.ebuild,
+ powertop-9999.ebuild:
+ bug #464792 has been a hotbed of possible improvements, hopefully this is an
+ improvement
07 Apr 2013; Rick Farina <zerochaos@gentoo.org> powertop-2.3.ebuild,
powertop-9999.ebuild:
diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest
index df4ea4f7f236..8550f4dc4607 100644
--- a/sys-power/powertop/Manifest
+++ b/sys-power/powertop/Manifest
@@ -14,24 +14,24 @@ DIST powertop-2.3.tar.gz 625004 SHA256 b8c1add69afee28c77dca56fdcedb4a46820f3a71
EBUILD powertop-1.13.ebuild 1121 SHA256 ad10c47049432ef0f9047eee7c5c6db033843f699cd2003c5b087169a296a030 SHA512 d87e4874baf0163ddef11ab5c2984ca276e98d551caaf2760e1054cde03e60248ee17ed143a0dcbca23f4a591b883c3b2e46fd1c7f773ab78e1fcb117340232e WHIRLPOOL a372742bb77b08e8b208342ca14e33f1a2d2d6287610613aebb7ec73ae76714448fd4baa39ec84f1f75658fcbd34ec42e058a1dc181e04c68c1d901ef0a78a2f
EBUILD powertop-2.2-r1.ebuild 3642 SHA256 c21ac3f6f7cc6e51851b7e02e15ebe428b0960d521a404abc63546093982496b SHA512 93db7edddab96c7d056b625dbdb7d58f9792754537d576044b25bef33f2bdd2bf1e035f219fed9d759563e5c88cf71cb73556467ab48f7752dd18cc3ba3a0f23 WHIRLPOOL 1f78423f19479611a2bbb672276b3c36f3bf015d3c456850fc396a417c698fcee124a5c30e8d0db80ced8eb1d532f869158c600ac0770b2c591d20912c3c7eea
EBUILD powertop-2.2-r2.ebuild 3699 SHA256 19056ba268d196fb7f5c0ef5599aeef9ddd9e4e298ce92d01ba68d5581dcf032 SHA512 b39b3c62f3a739d1f75a295e11f5e3fb84937c670f21c501a460fb6bad75637caec0a4c787c7142fd4c203abf0ab0e34859b625f12cda89223d73d900bf84411 WHIRLPOOL 0c079f8959d92d0e9c592a9640f5e58695f304f12543eab5b9306cc8f60557c99becd2d4c9cc1770b1a2de57d96b57277c8c8d70f311fea9f22fa2c9f8c80b3e
-EBUILD powertop-2.3.ebuild 3692 SHA256 c2281f7d8440106d6923adbbfd205e26109eee53fe399f2b8ff4cf72cef21195 SHA512 f5c7305f3e31d3c28ac7953e5fe335811afce13ae2d0c89594666fd2a5d5729fd4a19ff91a42920de2bb336d2fa0bbb2ca6f4dc7bb9421f87f0980f7dbeb1794 WHIRLPOOL 80c8af2f53a7b436758b4a424dbeb8138dc7583ea50bd7a8b2af1e23a7a9a667bfdfa449e93c3c18e5bd051007e44f497508fd4281fd8e25cb42fe4011a560d5
-EBUILD powertop-9999.ebuild 3443 SHA256 ae05d1d61b463b3df4840d65e023740398e2a419bc702670a72ee6d720f1b518 SHA512 cab8edd8467963f87f85794874c309271e1dab829bf6e65ea640ab4cbcaaba3b9618ec11ff099f3092c99928ee1fc05e3948aba17401b82ce6d56d59959b3b57 WHIRLPOOL b9a75be7f359c1ad3aa96826a7e83f3a88b7c82d4aedcb51d8a3a045907090ae7d4d94b26ac7894211e5f195c66a41bbb79d38eff98ac38f78e471a1254e1204
-MISC ChangeLog 11803 SHA256 278bd8d28dcc07ea9ab96672d03ffcf2c5dfa0151d788722ee7cec3437484009 SHA512 d02ff7164c418de41690bb655989484a40292a28ee0d48bfce6c329a99dcf77bd646f64aadbd447717e1fd855ede5694633884cdfd1c6ed4084d7fb4df471614 WHIRLPOOL dd1020e5fa0e896f699b9b5efb404dc9918f4e6dc2d1b5a08fc5c6350bedd8bbd20a913a4a0307f1775d24be716d0a26ec56560de8c3a16f99641b4015b53fee
+EBUILD powertop-2.3.ebuild 3590 SHA256 906ed0a8d046b8096193c630574952104d4957bb0a6785ec1ab1c19ff51725fd SHA512 2121a4c1fdd22206df17ef68dcb2fc218c15e123771c06b928de2b5520be994a9244eb42e726ddb7c2f8e9875a136d8842a244badf67ef5c0692701986a84f03 WHIRLPOOL e2434979acb66e7b43e3730fd177f60e7073d23013fcb31227c5b1e1f2500e9cd6097add1049e78c671df2c01186d97b98f9b1af8369201da10996dfab3a183b
+EBUILD powertop-9999.ebuild 3341 SHA256 16464dc89b9bc92fc5f82c29fe0ee79a38b62c37ba99206a6c7f942cdee81133 SHA512 a3f734de129d81e169f7abaaf125e76ed052db7dec191414cccf62ae51a717933acf8741a6ea280b9877a743e6cdf148ae1774b569ea14b8a0acfaa31e976449 WHIRLPOOL 33082310b43551d9cc93d5c51965dc146bbaa956ffd3ede87abc3f89f0f90d714d78d1c6403334b5890ac022691025c7d8d4256ae761cc37d32e8ca86a9fd7b9
+MISC ChangeLog 11992 SHA256 b8134f2f1ec599faa49fb1bd3dfba4b6bc40d1ab53130dcdff6a0f01dac67fef SHA512 2e2963676aa74d2cbb8575087e3b85f6223ee8b222a76b8c91fd9c5ab92b97d6feec95bfd77afec15cffd7910f6c2829a18ba4617b7448736501fa36202dcb8f WHIRLPOOL 4d96dc52812d43ed2e0873972d8f2664b3f43b2e33645cbf1a2bd90c3657d4c3cff058637a228c75b8a22c295255afb30dae85ebb94d5f48af8c74d20ae5045f
MISC metadata.xml 239 SHA256 24d3268dbe675a5446456b139438c1bd59bd6190077399a4a715805ef28da3cc SHA512 2fa025f3394a125b4a92ee5fdb579bcfe74755f4e4306d90979bbb04c5239adfd2fdf9242ee7623642909597100ca88a6f6b7578a24512d976930fad186e10f9 WHIRLPOOL ab1b126e1a8170eba68412f8704d38ac7a479cb80a461cb2466ad87966ab8f78ddc04ce66341e5056df8c3aa21e3cf2c530a1f3236461bb502b91842089b49bb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCgAGBQJRYbwMAAoJEKXdFCfdEflKXQkP/2Q+VfclUkqnX/t+VxEeUcUb
-TSd3dGBP9vG13wbRJDNa75dIWA/MocE63+ayN7QEDppllC0VCpyGvq5v/cGEJvxd
-NAppfMyGRLLQ+j3RsWTYs4SUx/MZaSxSmXbApdZztnykafk6FSuaWS/EkndnyImd
-1+LeAO7x15dMDmXqXhqrFFMRqnBwDNjYPnM3gQNrPZ5mVZaSaKlYLw/Gn01KDzKW
-0YctoX6EN0PIv2LjlrDG1M/YOf7TunR1bjTTqpCXNKurtv6ki2X0DWm7Rinf51ng
-/qBfETa/EJ6mgsymXoUqSgtZiacpECNBc7l71Gv7m9QSdMakr0PgLDSn9VjB4MCd
-2ZTqGzWqIoTjWKJRUUSDDvz+Ots+f2vJXdNpZ/AFVTcJSygW4jsSZCPIGVYPcZPa
-xq7lILdD9s6uGb+7MhnzaInZ7NRgK+YozLlb6QEsHqnECN8UtOSLpsZR9Qv64UX0
-0UyiYAhP6k+FnpXsN9/16V6BYqL8EabYDeW3D0j69bPQGXsKQ0edUMZ0JwYHvWcw
-C4dq31HiWrpPrqaVV1y1mnWSoj9PGS84CHGBcEa+8riyFKD47I5EY2bXZjFSD21y
-LO4rDIKxVI2XVhRtZfPp7DnnIVkjFFX6YpWM+PhhTC85BAZSji3yRSydg80FliIl
-7DiU9PacFNmFfpfxvmFS
-=YcYz
+iQIcBAEBCgAGBQJRYiJVAAoJEKXdFCfdEflKEcYQAJODy7FnueE+jaD+Zgc/wP5S
+wRvmOOuxmms0uI77zUPMZNaIG5KW+euwHUSrmUJfA6QeWE9PtEDLiIYWwLmrZyef
+PKQv227P6AMsbKEU7OiEF0iev7INDuYFPzw0d9pQi3vYWuCkoLPr7oT27RFQy/Or
+SuAVcknxPUW0koqW/viGJ+nOzDqmk+k3FtI1FNceihIPNxjNX5SBD2/oca884e+F
+7clrI1iDjpD6Z779sGvqw6D3/NN/EQ4Ukjb2atv68B/2fk7IjY9smaHMRlQTL2nM
+KgE+d5Zs7RvLB3kUtTOZqTQZEZQFgRAk8uZh+4RDgSpge81hhX3hHW6gWtlkBPcG
+rRAPtg0H9LK+QLi39KxeNJQHxPLUfbgcn3CGnde6MioKGJ2fomMraLPA9gBWVe7J
+eOwQVhWxRWK1+rUH+HewNEpBDLpLQk+Zyn5djonWiVc1+EYxTlicJMXJb1nzvPUn
+lfQozmnEk4XAoMn3dpYVjHGWrwxyA65sTyqMPQ1MiFJ6NM265UQccLZoVyUfC5+3
+8byZ/uttL6ijVEZg1K9KxKtWrXSxMT1kcoFifj0/Uz8wYrWmJHQtntqeuZOmbAyj
+4t8dPSQu0yVCthcgYazAukmxb+L4JEUdyEpnEr8peXKuOXj8vWIoYp98kdd5H3/Q
+KwJj8ctPAbA4VWly0KKM
+=oNUO
-----END PGP SIGNATURE-----
diff --git a/sys-power/powertop/powertop-2.3.ebuild b/sys-power/powertop/powertop-2.3.ebuild
index 88f65addad33..e9b8997773d5 100644
--- a/sys-power/powertop/powertop-2.3.ebuild
+++ b/sys-power/powertop/powertop-2.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v 1.2 2013/04/07 18:31:33 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v 1.3 2013/04/08 01:47:55 zerochaos Exp $
EAPI="5"
@@ -40,46 +40,47 @@ RDEPEND="
DOCS=( TODO README )
pkg_setup() {
+ CONFIG_CHECK="
+ ~X86_MSR
+ ~DEBUG_FS
+ ~PERF_EVENTS
+ ~TRACEPOINTS
+ ~NO_HZ
+ ~HIGH_RES_TIMERS
+ ~HPET_TIMER
+ ~CPU_FREQ_STAT
+ ~CPU_FREQ_GOV_ONDEMAND
+ ~USB_SUSPEND
+ ~FTRACE
+ ~BLK_DEV_IO_TRACE
+ ~TIMER_STATS
+ ~EVENT_POWER_TRACING_DEPRECATED
+ ~TRACING
+ "
+ ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it"
+ ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
+ ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_CPU_FREQ_GOV_ONDEMAND="CPU_FREQ_GOV_ONDEMAND should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_USB_SUSPEND="USB_SUSPEND should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TRACE"
+ ERROR_KERNEL_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable TIMER_STATS, TRACING and EVENT_POWER_TRACING_DEPRECATED"
+ ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
linux-info_pkg_setup
if linux_config_exists; then
- CONFIG_CHECK="
- ~X86_MSR
- ~DEBUG_FS
- ~PERF_EVENTS
- ~TRACEPOINTS
- ~NO_HZ
- ~HIGH_RES_TIMERS
- ~HPET_TIMER
- ~CPU_FREQ_STAT
- ~CPU_FREQ_GOV_ONDEMAND
- ~USB_SUSPEND
- ~FTRACE
- ~BLK_DEV_IO_TRACE
- ~TIMER_STATS
- ~EVENT_POWER_TRACING_DEPRECATED
- ~TRACING
- "
if kernel_is -lt 3 7 0; then
- linux_chkconfig_present SND_HDA_INTEL && CONFIG_CHECK+="~SND_HDA_POWER_SAVE"
- linux_chkconfig_present SND_HDA_INTEL && ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
+ if linux_chkconfig_present SND_HDA_INTEL; then
+ CONFIG_CHECK="~SND_HDA_POWER_SAVE"
+ ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
+ fi
fi
- ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it"
- ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
- ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_CPU_FREQ_GOV_ONDEMAND="CPU_FREQ_GOV_ONDEMAND should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_USB_SUSPEND="USB_SUSPEND should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TRACE"
- ERROR_KERNEL_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable TIMER_STATS, TRACING and EVENT_POWER_TRACING_DEPRECATED"
- ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
- else
- ewarn "unable to find kernel config, all checks disabled"
+ check_extra_config
fi
}
diff --git a/sys-power/powertop/powertop-9999.ebuild b/sys-power/powertop/powertop-9999.ebuild
index 211adc16bbdb..63ec4c51d7a4 100644
--- a/sys-power/powertop/powertop-9999.ebuild
+++ b/sys-power/powertop/powertop-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.20 2013/04/07 18:31:33 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.21 2013/04/08 01:47:55 zerochaos Exp $
EAPI="5"
@@ -40,46 +40,47 @@ RDEPEND="
DOCS=( TODO README )
pkg_setup() {
+ CONFIG_CHECK="
+ ~X86_MSR
+ ~DEBUG_FS
+ ~PERF_EVENTS
+ ~TRACEPOINTS
+ ~NO_HZ
+ ~HIGH_RES_TIMERS
+ ~HPET_TIMER
+ ~CPU_FREQ_STAT
+ ~CPU_FREQ_GOV_ONDEMAND
+ ~USB_SUSPEND
+ ~FTRACE
+ ~BLK_DEV_IO_TRACE
+ ~TIMER_STATS
+ ~EVENT_POWER_TRACING_DEPRECATED
+ ~TRACING
+ "
+ ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it"
+ ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
+ ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_CPU_FREQ_GOV_ONDEMAND="CPU_FREQ_GOV_ONDEMAND should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_USB_SUSPEND="USB_SUSPEND should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TRACE"
+ ERROR_KERNEL_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable TIMER_STATS, TRACING and EVENT_POWER_TRACING_DEPRECATED"
+ ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
linux-info_pkg_setup
if linux_config_exists; then
- CONFIG_CHECK="
- ~X86_MSR
- ~DEBUG_FS
- ~PERF_EVENTS
- ~TRACEPOINTS
- ~NO_HZ
- ~HIGH_RES_TIMERS
- ~HPET_TIMER
- ~CPU_FREQ_STAT
- ~CPU_FREQ_GOV_ONDEMAND
- ~USB_SUSPEND
- ~FTRACE
- ~BLK_DEV_IO_TRACE
- ~TIMER_STATS
- ~EVENT_POWER_TRACING_DEPRECATED
- ~TRACING
- "
if kernel_is -lt 3 7 0; then
- linux_chkconfig_present SND_HDA_INTEL && CONFIG_CHECK+="~SND_HDA_POWER_SAVE"
- linux_chkconfig_present SND_HDA_INTEL && ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
+ if linux_chkconfig_present SND_HDA_INTEL; then
+ CONFIG_CHECK="~SND_HDA_POWER_SAVE"
+ ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
+ fi
fi
- ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it"
- ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
- ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_CPU_FREQ_GOV_ONDEMAND="CPU_FREQ_GOV_ONDEMAND should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_USB_SUSPEND="USB_SUSPEND should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TRACE"
- ERROR_KERNEL_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable TIMER_STATS, TRACING and EVENT_POWER_TRACING_DEPRECATED"
- ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
- else
- ewarn "unable to find kernel config, all checks disabled"
+ check_extra_config
fi
}