These patches adds the ability to generate files in drcov format.
Primary goal this scripts is to have coverage
logfiles thatwork in Lighthouse.
Changelog:
v3:
* Increased speed of the plugin.
* Added documentation to the helper functions.
* Sorted qemu-plugins.symbols.
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 <arkadiy.ivanov@ispras.ru>
---
Ivanov Arkady (3):
src/plugins: sorted list
This patch adds helper functions to the drcov plugin.
contrib/plugins: add a drcov plugin
contrib/plugins/Makefile | 1
contrib/plugins/drcov.c | 152 ++++++++++++++++++++++++++++++++++++++++++
include/qemu/qemu-plugin.h | 17 +++++
plugins/api.c | 44 ++++++++++++
plugins/qemu-plugins.symbols | 56 ++++++++-------
5 files changed, 244 insertions(+), 26 deletions(-)
create mode 100644 contrib/plugins/drcov.c
--
Ivanov Arkady