Re: How to enable the print timestamping in dmesg

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

 



On Sat, 2009-07-11 at 09:59 +0700, Mulyadi Santosa wrote:
> Hi...
> 
> On 7/11/09, H M Thalib <hmthalib@xxxxxxxxx> wrote:
> > On Sat, 2009-07-11 at 09:18 +0700, Mulyadi Santosa wrote:
> >> On 7/11/09, H M Thalib <hmthalib@xxxxxxxxx> 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.

Currently I am involved in optimzion the bootime for kenel I would like
to know if there is any other tools that can be used or methods used for
optimzing the kerenl. Thanks

-- 
H M Thalib


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux