<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unit-trace.git, branch master</title>
<subtitle>Mollison's unit tracing and testing tool (OSPERT'09)</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/unit-trace.git/'/>
<entry>
<title>Show CPU in stdout_printer event records</title>
<updated>2011-04-20T18:41:12+00:00</updated>
<author>
<name>Mac Mollison</name>
<email>mollison@cs.unc.edu</email>
</author>
<published>2011-04-20T18:41:12+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/unit-trace.git/commit/?id=0f1a6e73f10b8b5128b810aa0dd1f413132840f3'/>
<id>0f1a6e73f10b8b5128b810aa0dd1f413132840f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added support for visualizing arbitrary actions.</title>
<updated>2011-01-31T21:40:54+00:00</updated>
<author>
<name>Mac Mollison</name>
<email>mollison@cs.unc.edu</email>
</author>
<published>2011-01-31T21:40:54+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/unit-trace.git/commit/?id=d2240e7a9b15d18dfd0f3cbe75f3adf1c9e7fabf'/>
<id>d2240e7a9b15d18dfd0f3cbe75f3adf1c9e7fabf</id>
<content type='text'>
(By Jonathan, cherry-picked by Mac)

Conflicts:

	unit_trace/trace_reader.py
	unit_trace/viz/canvas.py
	unit_trace/viz/graph.py
	unit_trace/viz/schedule.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(By Jonathan, cherry-picked by Mac)

Conflicts:

	unit_trace/trace_reader.py
	unit_trace/viz/canvas.py
	unit_trace/viz/graph.py
	unit_trace/viz/schedule.py
</pre>
</div>
</content>
</entry>
<entry>
<title>Make default viz. time interval 1 ms</title>
<updated>2011-01-31T21:29:07+00:00</updated>
<author>
<name>Mac Mollison</name>
<email>mollison@cs.unc.edu</email>
</author>
<published>2011-01-31T21:29:07+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/unit-trace.git/commit/?id=85a089c42749e1394ae12321564109f25fa8154f'/>
<id>85a089c42749e1394ae12321564109f25fa8154f</id>
<content type='text'>
Conflicts:

	unit-trace
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:

	unit-trace
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve behavior when out-of-order record detected</title>
<updated>2010-12-15T14:53:23+00:00</updated>
<author>
<name>Mac Mollison</name>
<email>mollison@cs.unc.edu</email>
</author>
<published>2010-12-15T14:53:23+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/unit-trace.git/commit/?id=c364f1d807eeb246ca67184246fd2c8d7933b8b6'/>
<id>c364f1d807eeb246ca67184246fd2c8d7933b8b6</id>
<content type='text'>
In order to sort records from different files into a single
stream (in order of timestamp), unit-trace uses per-cpu buffers;
the length of the buffers was previously hardcoded. If that
length proved insufficient (resulting in out-of-order records),
before this commit, unit-trace produced a FATAL ERROR and
terminated.

Now, unit-trace merely keeps a record of all out-of-order
records and prints a warning at the end, listing them.

The motivation for this change was the observation that
at least some times, grossly out-of-order errors were at
the very beginning of the trace (e.g. task system release),
so they don't really matter. If we know the IDs of the records
that are unordered, we are able to check (with the -o output)
to see if their misordering actually matters or not.

Moreover, the buffer size can now be specified with -b, and
the previously hard-coded value (200) is the default. Making
this number smaller greatly improves runtime, and vice versa.

I suspect that further investigation into the problem of sorting
records will show that the current method is overkill; down the
road, we may be able to replace this method with something much
faster. (The current method has the advantage that it is extremely
scalable, but I don't think that pays off for the size of traces
we typically examine.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to sort records from different files into a single
stream (in order of timestamp), unit-trace uses per-cpu buffers;
the length of the buffers was previously hardcoded. If that
length proved insufficient (resulting in out-of-order records),
before this commit, unit-trace produced a FATAL ERROR and
terminated.

Now, unit-trace merely keeps a record of all out-of-order
records and prints a warning at the end, listing them.

The motivation for this change was the observation that
at least some times, grossly out-of-order errors were at
the very beginning of the trace (e.g. task system release),
so they don't really matter. If we know the IDs of the records
that are unordered, we are able to check (with the -o output)
to see if their misordering actually matters or not.

Moreover, the buffer size can now be specified with -b, and
the previously hard-coded value (200) is the default. Making
this number smaller greatly improves runtime, and vice versa.

I suspect that further investigation into the problem of sorting
records will show that the current method is overkill; down the
road, we may be able to replace this method with something much
faster. (The current method has the advantage that it is extremely
scalable, but I don't think that pays off for the size of traces
we typically examine.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'wip-gary'</title>
<updated>2010-04-13T16:28:49+00:00</updated>
<author>
<name>Mac Mollison</name>
<email>mollison@cs.unc.edu</email>
</author>
<published>2010-04-13T16:28:49+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/unit-trace.git/commit/?id=51e246d367d043913a882080abde3d8bae5ce4d4'/>
<id>51e246d367d043913a882080abde3d8bae5ce4d4</id>
<content type='text'>
- Adds time_per_maj option to visualizer

Conflicts:
	unit-trace
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Adds time_per_maj option to visualizer

Conflicts:
	unit-trace
</pre>
</div>
</content>
</entry>
<entry>
<title>Zaptrail on viewer.py</title>
<updated>2010-04-13T16:26:21+00:00</updated>
<author>
<name>Mac Mollison</name>
<email>mollison@cs.unc.edu</email>
</author>
<published>2010-04-13T16:26:21+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/unit-trace.git/commit/?id=533dd1ba6651f14c68e9323b5cc5a4f938f4e495'/>
<id>533dd1ba6651f14c68e9323b5cc5a4f938f4e495</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor fixes</title>
<updated>2010-04-12T15:58:37+00:00</updated>
<author>
<name>Gary Bressler</name>
<email>garybressler@nc.rr.com</email>
</author>
<published>2010-04-12T15:58:37+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/unit-trace.git/commit/?id=e3a1e19e87dbb3df413015bfc714283bc8602999'/>
<id>e3a1e19e87dbb3df413015bfc714283bc8602999</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Only import modules as needed</title>
<updated>2010-04-11T05:02:17+00:00</updated>
<author>
<name>Mac Mollison</name>
<email>mollison@cs.unc.edu</email>
</author>
<published>2010-04-11T05:02:17+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/unit-trace.git/commit/?id=de297ade4c09eb63b30d567598bf33c0e1c38fc9'/>
<id>de297ade4c09eb63b30d567598bf33c0e1c38fc9</id>
<content type='text'>
In the case of viz, the results in errors about not having
pycairo and pygtk potentially being printed only if the user actually
uses the -v flag
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case of viz, the results in errors about not having
pycairo and pygtk potentially being printed only if the user actually
uses the -v flag
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor doc improvements</title>
<updated>2010-04-11T04:39:34+00:00</updated>
<author>
<name>Mac Mollison</name>
<email>mollison@cs.unc.edu</email>
</author>
<published>2010-04-11T04:39:34+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/unit-trace.git/commit/?id=4aacc808676506ea094772082c2aba8beaf49dfe'/>
<id>4aacc808676506ea094772082c2aba8beaf49dfe</id>
<content type='text'>
- Zapped trailing whitespace
- Bolded table headers
- Added sentence about submodule doc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Zapped trailing whitespace
- Bolded table headers
- Added sentence about submodule doc
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated the documentation to describe the visualizer, made unit-trace itself not require gtk/cairo, and a few other minor things.</title>
<updated>2010-04-08T21:11:08+00:00</updated>
<author>
<name>Gary Bressler</name>
<email>garybressler@nc.rr.com</email>
</author>
<published>2010-04-08T21:11:08+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/unit-trace.git/commit/?id=ceff6457bfeb5642616f4711f14e0bb652d12164'/>
<id>ceff6457bfeb5642616f4711f14e0bb652d12164</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
