class StackProf::Report
def callers_for(addr)
def callers_for(addr) @callers_for ||= {} @callers_for[addr] ||= data[:frames].map{ |id, other| [other[:name], other[:edges][addr]] if other[:edges] && other[:edges].include?(addr) }.compact end
def callers_for(addr) @callers_for ||= {} @callers_for[addr] ||= data[:frames].map{ |id, other| [other[:name], other[:edges][addr]] if other[:edges] && other[:edges].include?(addr) }.compact end