Skip to content

Commit 09721c5

Browse files
author
Andrew Fasano
committed
Callstack_instr: disable TB chaining to improve accuracy
1 parent 1980d43 commit 09721c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

panda/plugins/callstack_instr/callstack_instr.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ bool init_plugin(void *self) {
615615
panda_register_callback(self, PANDA_CB_AFTER_BLOCK_EXEC, pcb);
616616
pcb.before_block_exec = before_block_exec;
617617
panda_register_callback(self, PANDA_CB_BEFORE_BLOCK_EXEC, pcb);
618+
panda_disable_tb_chaining(); // TODO: if we switch to SBE style callbacks we can leave chaining enabled
618619

619620
bool setup_ok = true;
620621

0 commit comments

Comments
 (0)