[PATCH v3 0/3] plugins: add a drcov plugin

2021-10-22 Thread NDNF
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 t

[PATCH v3 1/3] src/plugins: sorted list

2021-10-22 Thread NDNF
The list is sorted to make it easier to find missing characters Signed-off-by: Ivanov Arkady --- plugins/qemu-plugins.symbols | 52 +- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/plugins/qemu-plugins.symbols b/plugins/qemu-plugins.sym

[PATCH v3 2/3] This patch adds helper functions to the drcov plugin.

2021-10-22 Thread NDNF
Which provide information about: - start_code. - end_code. - entry. - path to the executable binary. Signed-off-by: Ivanov Arkady --- include/qemu/qemu-plugin.h | 17 plugins/api.c| 44 ++ plugins/qemu-plugins.symbols

[PATCH v3 3/3] contrib/plugins: add a drcov plugin

2021-10-22 Thread NDNF
This patch adds the ability to generate files in drcov format. Primary goal this script is to have coverage logfiles thatwork in Lighthouse. Signed-off-by: Ivanov Arkady --- contrib/plugins/Makefile |1 contrib/plugins/drcov.c | 152 ++ 2 files

[PATCH v2 0/2] plugins: add a drcov plugin

2021-10-15 Thread NDNF
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. *

[PATCH v2 2/2] contrib/plugins: add a drcov plugin

2021-10-15 Thread NDNF
This patch adds the ability to generate files in drcov format. Primary goal this script is to have coverage logfiles thatwork in Lighthouse. Signed-off-by: Ivanov Arkady --- contrib/plugins/Makefile |1 contrib/plugins/drcov.c | 148 ++ 2 files

[PATCH v2 1/2] src/plugins: add helper functions for drcov

2021-10-15 Thread NDNF
This patch adds helper functions to the drcov plugin. Which provide information about: - start_code. - end_code. - entry. - path to the executable binary. Signed-off-by: Ivanov Arkady --- include/qemu/qemu-plugin.h |5 + plugins/api.c| 27 +++

[PATCH v4 2/2] arm/monitor: Add support for 'info tlb' command

2021-08-18 Thread NDNF
This adds hmp 'info tlb' command support for the arm platform. The limitation is that this only implements a page walker for ARMv8-A AArch64 Long Descriptor format, 32bit addressing is not supported yet. Signed-off-by: Changbin Du Signed-off-by: Ivanov Arkady --- hmp-commands-info.hx |3 +

[PATCH v4 0/2] arm: Add support for 'info tlb' command

2021-08-18 Thread NDNF
This adds hmp 'info tlb' command support for the arm platform. The limitation is that this only implements a page walker for ARMv8-A AArch64 Long Descriptor format, 32bit addressing is not supported yet. To reuse existing code, this patch also extracts some APIs from helper.c, including regime_tra

[PATCH v4 1/2] target/arm: Refactoring MMU helper function

2021-08-18 Thread NDNF
To reuse existing code for "tlb info", this patch also extracts some of the APIs from helper.c including mode_translation_disabled (), pt_start_level_stage1 (), mode_ttbr (), arm_ldq_ptw (). Signed-off-by: Ivanov Arkady Signed-off-by: Changbin Du --- target/arm/helper.c| 35 +++---