tech-userlevel archive

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

Re: kdump -E for time elapsed since the beginning of trace



On Thu, Sep 07, 2017 at 05:18:11 +0300, Valery Ushakov wrote:

> I'd like to add kdump -E option to print timestamps as time elapsed
> since the beginning of trace.

PS: You may notice on some platforms that the second entry (execve)
has 1) negative time, 2) incorrect negative time.

$ ktrace date && kdump -TE | sed 2q
Thu Sep  7 05:30:09 MSK 2017
  5995      1 ktrace   1504751409.989461831 0.000000000 EMUL  "netbsd"
  5995      1 ktrace   1504751409.989459379 -1.999997548 CALL  execve(...)

Where 1504751409.989459379 - 1504751409.989461831 = -0.000002452
not -1.999997548

These are pre-existing bugs.

-uwe


Home | Main Index | Thread Index | Old Index