These patches adds the ability to generate files in drcov format. Primary goal this scripts is to have coverage logfiles thatwork in Lighthouse.
Changelog: v2: * Added path to executable binary file. * base, end, entry have correct values now. * Added option: "filename" for output file. * Install an actual tracer when the TB gets executed. Signed-off-by: Ivanov Arkady <[email protected]> --- Ivanov Arkady (2): src/plugins: add helper functions for drcov contrib/plugins: add a drcov plugin contrib/plugins/Makefile | 1 contrib/plugins/drcov.c | 148 ++++++++++++++++++++++++++++++++++++++++++ include/qemu/qemu-plugin.h | 5 + plugins/api.c | 27 ++++++++ plugins/qemu-plugins.symbols | 4 + 5 files changed, 185 insertions(+) create mode 100644 contrib/plugins/drcov.c -- Ivanov Arkady
