Is the daily build built with CONFIG_PM_DEBUG set?

Asked by Ken Sharp on 2013-08-08

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:
2013-08-09
Last query:
2013-08-09
Last reply:
2013-08-09
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!

Ken Sharp (kennybobs) said : #2

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

Ken Sharp (kennybobs) said : #3

Thanks Thomas Krüger, that solved my question.