View previous topic :: View next topic |
Author |
Message |
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Tue Mar 19, 2013 5:43 am Post subject: Where is CONFIG_PM_ADVANCED_DEBUG in the kernel [SOLVED] |
|
|
Powertop recommends...
Quote: | Enable the CONFIG_PM_ADVANCED_DEBUG kernel configuration option.
This option will allow PowerTOP to collect runtime power management statistics. |
I have searched the forums and found many references to the same thing but can't seem to find it in my kernel options, or in a thread stating where it lives.
Thanks.
Last edited by Budoka on Tue Mar 26, 2013 3:28 am; edited 2 times in total |
|
Back to top |
|
|
tuner23 Tux's lil' helper
Joined: 18 May 2006 Posts: 82
|
Posted: Tue Mar 19, 2013 7:19 am Post subject: |
|
|
Hello,
When you are in menuconfig you can search for modules, if you type '/'
Code: | ┌──────────────────────────────── Search Results ─────────────────────────────────┐
│ Symbol: PM_ADVANCED_DEBUG [=n] │
│ Type : boolean │
│ Prompt: Extra PM attributes in sysfs for low-level debugging/testing │
│ Defined at kernel/power/Kconfig:159 │
│ Depends on: PM_DEBUG [=y] │
│ Location: │
│ -> Power management and ACPI options │
│ (1) -> Power Management Debug Support (PM_DEBUG [=y])
|
Important is the -Option. Which says what you should have activate (and what not) to enable the option.
Also says where you have to browse to..
Greets,
Antonios. |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Thu Mar 21, 2013 2:20 am Post subject: |
|
|
tuner23 wrote: | Hello,
When you are in menuconfig you can search for modules, if you type '/'
Code: | ┌──────────────────────────────── Search Results ─────────────────────────────────┐
│ Symbol: PM_ADVANCED_DEBUG [=n] │
│ Type : boolean │
│ Prompt: Extra PM attributes in sysfs for low-level debugging/testing │
│ Defined at kernel/power/Kconfig:159 │
│ Depends on: PM_DEBUG [=y] │
│ Location: │
│ -> Power management and ACPI options │
│ (1) -> Power Management Debug Support (PM_DEBUG [=y])
|
Important is the -Option. Which says what you should have activate (and what not) to enable the option.
Also says where you have to browse to..
Greets,
Antonios. |
Is there an option in genkernel as well? |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Fri Mar 22, 2013 5:37 am Post subject: |
|
|
OK. I figured out how to search on genkernel but am still having problems.
Genkernel indicates that CONFIG_PM_ADVANCED_DEBUG lives here:
Quote: | Symbol: PM_ADVANCED_DEBUG [=y] │
│ Type : boolean │
│ Prompt: Extra PM attributes in sysfs for low-level debugging/testing │
│ Defined at kernel/power/Kconfig:159 │
│ Depends on: PM_DEBUG [=y] │
│ Location: │
│ -> Power management and ACPI options │
│ -> Power Management Debug Support (PM_DEBUG [=y]) |
However when I go to that directory it isn't. I only see:
Quote: | [*] Suspend to RAM and standby │ │
│ │ [*] Hibernation (aka 'suspend to disk') │ │
│ │ () Default resume partition │ │
│ │ [ ] Opportunistic sleep │ │
│ │ [ ] User space wakeup sources interface │ │
│ │ [*] Run-time PM core functionality │ │
│ │ [*] Power Management Debug Support │ │
│ │ [*] Extra PM attributes in sysfs for low-level debugging/testing │ │
│ │ [ ] Suspend/resume event tracing │ │
│ │ [*] ACPI (Advanced Configuration and Power Interface) Support ---> │ │
│ │ [ ] SFI (Simple Firmware Interface) Support ---> │ │
│ │ CPU Frequency scaling ---> │ │
│ │ -*- CPU idle PM support │ │
│ │ [ ] Cpuidle Driver for Intel Processors │ │
│ │ Memory power savings ---> │ │
│ │ |
There isn't any sub-menu for Power Management Debug Support . Any ideas? |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Mon Mar 25, 2013 4:50 am Post subject: |
|
|
OK. I found it. Some of the menu items changed. |
|
Back to top |
|
|
|