Skip to content

Commit

Permalink
Unlock end point depending on state of start point not its hit counter
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasauer committed Aug 11, 2022
1 parent 7b01059 commit 574f042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions faultplugin/faultplugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
Expand Down

0 comments on commit 574f042

Please sign in to comment.