Messages in this thread | | | Date | Thu, 24 May 2012 12:27:14 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH] power: add knob for printing device resume times |
| |
On Tue 2012-05-22 12:16:45, Sameer Nanda wrote: > Added a new knob called /sys/powe/pm_print_times. Setting it to 1 > enables printing of time taken by devices to suspend and resume. > Setting it to 0 disables this printing (unless overridden by > initcall_debug kernel command line option).
Did not we have nice module_param() interface that had kernel command line parameter _and_ sysfs file created with .. one line IIRC?
Could that be used?
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |