We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a874319 commit 8ee904bCopy full SHA for 8ee904b
contrib/plugins/bbv.c
@@ -109,7 +109,7 @@ static void vcpu_tb_trans(qemu_plugin_id_t id, struct qemu_plugin_tb *tb)
109
bb = g_new(Bb, 1);
110
bb->vaddr = vaddr;
111
bb->count = qemu_plugin_scoreboard_new(sizeof(uint64_t));
112
- bb->index = g_hash_table_size(bbs);
+ bb->index = g_hash_table_size(bbs) + 1;
113
g_hash_table_replace(bbs, &bb->vaddr, bb);
114
}
115
g_rw_lock_writer_unlock(&bbs_lock);
0 commit comments