Is the daily build built with CONFIG_PM_DEBUG set?

Asked by Ken Sharp

According to https://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt there should be a /sys/power/pm_test file but it doesn't exist on the daily (yesterday's) build.

Is CONFIG_PM_DEBUG set during the build? I could not work out how to find out.

This is needed to help debug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1073804.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Solved by:
Thomas Krüger
Solved:
Last query:
Last reply:
Revision history for this message
Best Thomas Krüger (thkrueger) said :
#1

You can check the kernels configuration from the /boot/config-(kernel_version) file. You can retrieve (kernel_version) with "uname -r".
If the parameter is not set you can reconfigure and recompile the kernel. See https://help.ubuntu.com/community/Kernel/Compile for details!

Revision history for this message
Ken Sharp (kennybobs) said :
#2

I realised my idiocy after posting this question. Thanks for the quick response!

Revision history for this message
Ken Sharp (kennybobs) said :
#3

Thanks Thomas Krüger, that solved my question.