evtranalyze: add summary command and refactor interval code
authorAggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Mon, 15 Feb 2010 12:28:07 +0000 (14:28 +0200)
committerAggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Mon, 15 Feb 2010 12:35:09 +0000 (14:35 +0200)
commit70af04e9bc5e4fec29f13d08e9cd6c6b0dfe4a02
treebe4c3cdbdb72d32913238101637a2453e217cebf
parentbd2179053a5c09c63e7032a9f48496ccd21e36e0
evtranalyze: add summary command and refactor interval code

Allow the user to specify a time interval in miliseconds. Coupled
with the summary command, this makes it easy to select a subset of
the events for the svg command.

Also fix the svg code to not assume there are always 5 threads
with activity.

Add a new option to the svg command to write to a different path
(the default remains "output.svg").
usr.bin/evtranalyze/evtranalyze.1
usr.bin/evtranalyze/evtranalyze.c