summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Carl Worth [Wed, 24 Apr 2013 00:25:13 +0000 (17:25 -0700)]
Compile both 32-bit and 64-bit versions of the wrapper library.
This is intended to make it transparent to run fips with either a
32-bit or a 64-bit program. And it does do that once you successfully
build both versions of the library.
Actually being able to build both versions of the library is a little
tricky though. Here are some of the tricks:
1. You will need to have installed both a 32-bit and a 64-bit .so file
for each dependent library, (currently libelf and libtalloc).
The current configure script doesn't check for both versions, so
you don't get a lot of guidance here. And that's because...
2. On Debian, at least, one cannot currently install both
libtalloc-dev:amd64 and libtalloc-dev:i386 at the same time.
Contrast with libelf-dev:i386 and libelf-dev:amd64 which work just
fine when installed simultaneously.
One can work around this by just install libtalloc-dev:amd64 and then
manually creating the link you need for the i386 package. Namely:
sudo ln -s libelf.so.1 /usr/lib/i386-linux-gnu/libelf.so
Carl Worth [Tue, 23 Apr 2013 21:17:33 +0000 (14:17 -0700)]
Start wrapping OpenGL, and print periodic FPS value to stdout.
In addition to the fips binary, we now also compile a libfips.so library
and LD_PRELOAD that before executing the program specified on the command-
line.
The libfips.so library wraps OpenGL calls of interest for purpose of
instrumentation. So far, the only call wrapped is glXSwapBuffers and
the only instrumentation is to compute and print out a frames-per-second
value every 60 frames.
Carl Worth [Mon, 22 Apr 2013 23:03:07 +0000 (16:03 -0700)]
Add the ability to execute a program.
Simply fork and exec the command-line arguments given.
(Nothing is actually changed yet about the environment in which the
program is executed.)
Carl Worth [Tue, 23 Apr 2013 17:22:29 +0000 (10:22 -0700)]
Move dist, release, etc. targets to new Makefile.release
The Makefile.local was getting far too cluttered with all of this
stuff mixed in.
Carl Worth [Mon, 22 Apr 2013 21:24:30 +0000 (14:24 -0700)]
Initial commit of fips repository
Just a build system and a stub of a main program for now, (which
doesn't do anything yet).