Re: acpi_battery_init() boot speed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 15 Dec 2010 15:27:44 -0500 (EST)
Len Brown <lenb@xxxxxxxxxx> wrote:

> 
> > wonder if this stuff is polling some battery property ?
> > (like discharge rate or something)
> 
> Is there a simple way to get a profile that starts when
> acpi_battery_init() is called and ends when it returns?
> 
> Note that acpi_battery_init() is not 900ms on all boxes --
> I had to poke around to find a slow one.  My arrandale
> laptop runs acpi_battery_init in 71 ms.

make it a module, and run "perf top" while in an other terminal you do

while :; do modprobe acpi_battery ; rmmod acpi_battery  ; done



-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux