Skip to content

Commit

Permalink
[perforator] Remove unneeded log from the unwinder to simplify eBPF p…
Browse files Browse the repository at this point in the history
…rogram

commit_hash:a5e2b5f3a7b279d1e94a2c6fa8de8e0e85dda61c
  • Loading branch information
BigRedEye committed Feb 3, 2025
1 parent 3e385ce commit efe664a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions perforator/agent/collector/progs/unwinder/dwarf.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,10 @@ NOINLINE bool locate_rule(struct unwind_table_page_leaf* page, u64 pc, struct un
}
u64 mpc = page->pc[m];

DWARF_TRACE("bs step %d: pc[%d]=%llx\n", i, m, mpc);
if (mpc <= pc) {
l = m;
DWARF_TRACE("bs step %d left: l=%d, r=%d\n", i, l, r);
} else {
r = m;
DWARF_TRACE("bs step %d right: l=%d, r=%d\n", i, l, r);
}
}

Expand Down

0 comments on commit efe664a

Please sign in to comment.