On Mon, Jul 18, 2011 at 04:56:54PM +0200, corentin.labbe wrote: > Perhaps we could keep my patch and add a warning about "problem with > suspend/resume" (both at first line when -H is used and in > manpages). Like "Warning timestamp could be inaccurate if you have > used SUSPEND/RESUME" I agree. > If you are agree with that I will update my patch accordingly. I have already added this feature to the code. The latest dmesg(1) changes: * -T, --ctime : print human readable timestamps [Mon Jul 18 22:30:51 2011] Bluetooth: L2CAP ver 2.15 [Mon Jul 18 22:30:51 2011] Bluetooth: L2CAP socket layer initialized [Mon Jul 18 22:30:51 2011] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 * -d, --show-delta : display the time spent between messages. (based on kernel scripts/show_delat). [ 37.727490 < 0.157379>] Bluetooth: L2CAP ver 2.15 [ 37.729090 < 0.001600>] Bluetooth: L2CAP socket layer initialized [ 37.964308 < 0.235218>] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 It's possible to mix the options (dmesg -d -T): [Mon Jul 18 22:30:51 2011 < 0.157379>] Bluetooth: L2CAP ver 2.15 [Mon Jul 18 22:30:51 2011 < 0.001600>] Bluetooth: L2CAP socket layer initialized [Mon Jul 18 22:30:51 2011 < 0.235218>] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html