mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
These configure flags enable code profiling (with gprof) and code coverage (with gcov) respectively. Although this is a nice idea, it's not currently very useful. Libtool mangles filenames in such a way that gcov cannot locate its datafiles. Profiling is of dubious utility with libguestfs which is not CPU-bound and relies extensively on running external programs (oprofile-like system profiling that took into account libguestfs + qemu or libguestfs + qemu + the appliance + filesystem tools *would* be useful). Also neither flag will help in capturing data from the appliance.
This is a test tool, not a comprehensive test, but a "does it basically function" test, which can be packaged and given to end users. It also collects and prints a lot of internal debug information, which is useful in bug reports to track down appliance / qemu boot problems. For more information, please read the man page libguestfs-test-tool(1).