From 574f0429f371b55ae704dc4b1ea71aa1ff129fe6 Mon Sep 17 00:00:00 2001 From: Lukas Auer Date: Mon, 23 May 2022 16:55:21 +0200 Subject: [PATCH] Unlock end point depending on state of start point not its hit counter --- faultplugin/faultplugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/faultplugin/faultplugin.c b/faultplugin/faultplugin.c index 6d7aa8c..0cf62e3 100644 --- a/faultplugin/faultplugin.c +++ b/faultplugin/faultplugin.c @@ -804,7 +804,7 @@ void plugin_end_information_dump() void tb_exec_end_max_event(unsigned int vcpu_index, void *vcurrent) { size_t ins = (size_t) vcurrent; - if(start_point.hitcounter != 3) + if(start_point.trignum != 3) { if(tb_counter >= tb_counter_max) { @@ -817,7 +817,7 @@ void tb_exec_end_max_event(unsigned int vcpu_index, void *vcurrent) void tb_exec_end_cb(unsigned int vcpu_index, void *vcurrent) { - if(start_point.hitcounter != 3) + if(start_point.trignum != 3) { qemu_plugin_outs("[End]: CB called\n"); if(end_point.hitcounter == 0)