On Mon, Aug 16, 2010 at 07:21:12PM +0800, Jin Xin Zheng wrote:
In fact when I saw this the first thing came up to my head was that our modified source for doing gcov -- we could collect the .gcda files in the build directory after libguestfs was invoked. But the guestfsd which runs inside the appliance produces the .gcda files in the temp ramfs.
I guess it writes it into / (ie. guestfsd's current directory which is pretty much always root)?
We have made a pretty lot of effort in order to tar-out these files before the subprocess was killed.
We have/had the same problem capturing core files too ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top