[ltt-dev] UST - Problems in recording trace on a current process
Naren
tracemein at gmail.com
Mon Feb 15 06:42:36 EST 2010
Hi Pierre,
>>You could load in lttv both a userspace trace and a kernel trace that was
>>recorded at the same time. You would then get appropriate events for
drawing
>>the CFV as well as userspace events. For that you would need to make sure
the
>>TSC clock is used in ust (see kernelcompat.h).
I verified the clock source in kernelcompat.h. It uses gettimeofday from
sys/time.h. As you suggested, its imperative that a tsc clock source is used
when userspace and kernel tracing are combined.
I went through the timesource patch of lttng,x86-trace-clock.patch, a patch
dealing with switching clocksource of x86 architecture, to tsc.
Can you suggest as to how we can change the clocksource to tsc in ust?
Regards,
Naren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100215/a4a91dd8/attachment-0003.htm>
More information about the lttng-dev
mailing list