https://sourceware.org/bugzilla/show_bug.cgi?id=32886
Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2025-04-18 Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED --- Comment #3 from Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> --- In gprofng/src/CallStack.cc, line ~530: #if ARCH(Intel)// TBR? FIXUP_XXX_SPARC_LINUX: switch should be on experiment ARCH, not dbe ARCH // We need to adjust return addresses on intel // in order to attribute inclusive metrics to // proper call instructions. if (experiment->exp_maj_version <= 9) if (!leaf && cur_instr->addr != 0) cur_instr = cur_instr->func->find_dbeinstr (0, cur_instr->addr - 1); #endif It is a leaf function in user code, but not in the libcollector's sampling. The last if statement should be: if (cur_instr->addr != 0) -- You are receiving this mail because: You are on the CC list for the bug.