[ltt-dev] Questions related to statistics

François Godin copelnug at gmail.com
Wed Jul 21 15:57:36 EDT 2010


I got three questions about the statistics for LTTng.

First question, in what process and mode are suppose to be the event after
"process_exit" but before the change of process and are they suppose to
count in cpu time?
Ex:
process_exit             # End of process
page_free *
send_signal                     # What process and mode? Count this in cpu
time?
sched_try_wakeup
sched_schedule        # New process

Second question, are the events between the "statedump_end" and the first
next change of state (mode or process) suppose to count in the cpu time?
statedump_end
page_free
page_free                    # Is this supposed to be included in cpu time.
write
syscall_exit           # Change of mode

Third question, in case of multiple cpu, should the difference from the last
event received from the cpu be added to cpu time? Imagine two cpus. The
first have it last event (fs.write, pid:134, mode:SYSCALL) at 110 ns and the
second have it last event at 115 ns. Should we had 5 ns to the cpu time
spent in process 134 and SYSCALL mode?


Thanks
-- 
François Godin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100721/61a25e3c/attachment-0002.htm>


More information about the lttng-dev mailing list