Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where is CONFIG_PM_ADVANCED_DEBUG in the kernel [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Tue Mar 19, 2013 5:43 am    Post subject: Where is CONFIG_PM_ADVANCED_DEBUG in the kernel [SOLVED] Reply with quote

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
View user's profile Send private message
tuner23
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 82

PostPosted: Tue Mar 19, 2013 7:19 am    Post subject: Reply with quote

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
Quote:
Depends on
-Option. Which says what you should have activate (and what not) to enable the option.

Also
Quote:
Location
says where you have to browse to..


Greets,
Antonios.
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Thu Mar 21, 2013 2:20 am    Post subject: Reply with quote

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
Quote:
Depends on
-Option. Which says what you should have activate (and what not) to enable the option.

Also
Quote:
Location
says where you have to browse to..


Greets,
Antonios.


Is there an option in genkernel as well?
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Fri Mar 22, 2013 5:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Mon Mar 25, 2013 4:50 am    Post subject: Reply with quote

OK. I found it. Some of the menu items changed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum