Hi...

On 7/11/09, H M Thalib <[email protected]> wrote:
> On Sat, 2009-07-11 at 09:18 +0700, Mulyadi Santosa wrote:
>> On 7/11/09, H M Thalib <[email protected]> wrote:
>> > Hi,
>> >
>> > When I dmesg in my ubuntu machine it gave a time stamp in front of the
>> > printk's. I want to know how to enable this in powerpc and arm based
>> > board for optimization. The sample dmesg log is below.
>> >
>> > [18142.277611] wlan0: associated
>> > [18409.007121] hda-intel: IRQ timing workaround is activated for card
>> > #0. Suggest a bigger bdl_pos_adj.
>>
>> I think you should enable CONFIG_PRINTK_TIME, but I am not sure if
>> that's available on every architecture.
>>
>
> I thaught it was oprofile oprofiler. Thanks for the infromation.
>
> Can I rely on this time stamps to optimize the booting time of the
> kernel.

IMO yes. AFAIK, whenever possible, it grabs the timing from TSC, so
it's quite fine grained. Even bootchart used to optimize linux boot
process depends on such procedure IIRC.
-- 
regards,

Mulyadi Santosa
Freelance Linux trainer
blog: the-hydra.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to