tracecap

88 views
Skip to first unread message

wei shen

unread,
Apr 16, 2012, 10:52:21 AM4/16/12
to BitBlaze User Discussion group
Dear sir:
I am interested in BitBlaze! I dowanloaded the source code. Once
when I change the code, how to compile it? Which tools do I need to
use?

BitBlaze have some plugins such as tracecap. But I don’t find
them in the TEMU source code. Where to download the source code of
these plugins?

Thank you very much!

Stephen McCamant

unread,
Apr 16, 2012, 9:13:16 PM4/16/12
to bitblaz...@googlegroups.com
>>>>> "WS" == wei shen <you35...@gmail.com> writes:

WS> Dear sir:
WS> I am interested in BitBlaze! I dowanloaded the source code. Once
WS> when I change the code, how to compile it? Which tools do I need to
WS> use?

For compiling TEMU and Vine for the first time, I would suggest that
you download the 1.0 releases, and compile them according to the
directions in the corresponding manual, all of which can be accessed
via:

http://bitblaze.cs.berkeley.edu/temu.html
and
http://bitblaze.cs.berkeley.edu/vine.html

These cover the prerequisite tools you need to install. The build
systems for TEMU and Vine both use a "configure" script and Makefiles
similar to other Unix programs, and TEMU in particular is similar to
QEMU for natural reasons. I'd suggest that you try compiling and
running the systems before you attempt to modify them, so that you can
better distinguish problems with the original system from ones that
might have been introduced by your modifications.

The basic tool you'll want to use to recompile the systems after
making changes is "make". After you've changed the source code,
running "make" in a directory will recompile all the related parts of
the system to create an up-to-date final binary.

WS> BitBlaze have some plugins such as tracecap. But I don't find them
WS> in the TEMU source code. Where to download the source code of
WS> these plugins?

There isn't a central location for TEMU plugins, since part of the
reason for a plugin architecture is so that different people can each
create their own plugins. As it sounds like you've observed, the TEMU
1.0 release contains the source code for a sample plugin, but only a
binary version of the Tracecap plugin.

Since Tracecap is a pretty complex example of a plugin, it's probably
a good idea to first familiarize yourself with the TEMU build process
and the plugin interface with the smaller example of the sample
plugin.

Our various releases of BitBlaze software are listed on the web at:

http://bitblaze.cs.berkeley.edu/release/index.html

For most purposes we recommend the TEMU 1.0 release. However we've
also made a release of some additional source code related to TEMU and
Vine. This is not a complete packaged release like TEMU and Vine 1.0,
but it includes source for some additional functionality that may be
useful, including the Tracecap plugin.

We have a web form you may use to request access to this release; it's
linked to from the page I mentioned above, or you can get to it
directly at:

http://aerie.cs.berkeley.edu/release/request.php

Hope this helps,

-- Stephen

Reply all
Reply to author
Forward
0 new messages