On 11/13/2013 10:18 AM, Johannes Berg wrote: > On Wed, 2013-11-13 at 10:01 -0800, Ben Greear wrote: > >> I chose a poor example here...my intention is to just add timers to existing >> messages... > > What does this do that printk timestamps don't? Sub-second precision, and the same in 'dmesg' output. There may be a way to get /var/log/messages to show sub-second precision, but at least it is not enabled by default on the systems I use. dmesg has no timestamps at all from what I can tell. Things like ath9k debugging typically do not go to /var/log/messages at all, so I was stuck using dmesg (I'll post a similar patch for ath9k debugging in case someone likes it.) The format I chose matches wpa_supplicant logs as well, which I found useful. Thanks, Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html