Signed-off-by: Henning Schild <[email protected]>

diff --git a/Documentation/gcov.txt b/Documentation/gcov.txt
new file mode 100644
--- /dev/null
+++ b/Documentation/gcov.txt
@@ -0,0 +1,18 @@
+$ cd $SRC
+
+$ make CONFIG_JAILHOUSE_GCOV=y clean
+$ make CONFIG_JAILHOUSE_GCOV=y
+# make CONFIG_JAILHOUSE_GCOV=y install
+
+$ find -iname *.gcda -exec rm -f {} +
+
+# modprobe jailhouse
+# jailhouse enable configs/this.cell
+# jailhouse ...
+# jailhouse disable
+# cp /sys/devices/jailhouse/jailhouse.bin /tmp/
+$ jailhouse-gcov-extract /tmp/jailhouse.bin
+
+$ lcov -o /tmp/coverage.info --capture -d .
+$ genhtml /tmp/coverage.info --output-directory /tmp/coverage/
+$ firefox /tmp/coverage/index.html

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to