LWN.net Logo

The Linux trace toolkit's next generation

The Linux trace toolkit's next generation

Posted Jan 10, 2008 18:15 UTC (Thu) by compudj (subscriber, #43335)
In reply to: The Linux trace toolkit's next generation by jd
Parent article: The Linux trace toolkit's next generation

Yes, I would be happy to do that. However, reading timestamps in a tracer is a bit trickier
than the average scenario, especially because of NMI context tracing. This is why I developed
algorithms that keeps track of 64 bits counters that can be read atomically, even if the
underlying hardware only provides a 32 bits counter.

So I guess it would make sense to use the LTTng timestamping infrastructure for other uses,
but the opposite is not necessarily true because of the reentrancy constraints.

Mathieu


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds