• Home
  • Raw
  • Download

Lines Matching refs:sym

136 		sym = symbol_entry();  in caller_sym()
165 sym.size = end - start; in caller_sym()
166 sym.name = symbol_names.create(b.syms[i].name()); in caller_sym()
167 sym.sample.vma = b.syms[i].vma(); in caller_sym()
180 sym = symbol_entry(); in callee_sym()
191 sym.size = bfdsym->size(); in callee_sym()
192 sym.name = symbol_names.create(bfdsym->name()); in callee_sym()
193 sym.sample.vma = bfdsym->vma(); in callee_sym()
218 symbol_entry sym; member in __anon9faa11510111::call_data
224 sym.image_name = image; in finish_sym()
225 sym.app_name = app; in finish_sym()
226 symbol_entry const * self = pc.find(sym); in finish_sym()
228 sym.sample.counts = self->sample.counts; in finish_sym()
232 file_location & loc = sym.sample.file_loc; in finish_sym()
304 void arc_recorder::process_children(cg_symbol & sym, double threshold) in process_children() argument
307 symbol_entry self = sym; in process_children()
312 sym.total_callee_count += self.sample.counts; in process_children()
313 sym.callees.push_back(self); in process_children()
315 sort(sym.callers.begin(), sym.callers.end(), compare_arc_count); in process_children()
316 sort(sym.callees.begin(), sym.callees.end(), compare_arc_count_reverse); in process_children()
320 cg_symbol::children::iterator cit = sym.callers.begin(); in process_children()
321 cg_symbol::children::iterator cend = sym.callers.end(); in process_children()
324 sym.total_caller_count[0]) < threshold) in process_children()
328 sym.callers.erase(sym.callers.begin(), cit); in process_children()
330 cit = sym.callees.begin(); in process_children()
331 cend = sym.callees.end(); in process_children()
334 sym.total_callee_count[0]) >= threshold) in process_children()
338 sym.callees.erase(cit, sym.callees.end()); in process_children()
350 cg_symbol sym((*it).first); in process() local
354 if (op_ratio(sym.sample.counts[0], total[0]) < threshold) in process()
358 if (!sym_filter.match(symbol_names.demangle(sym.name))) in process()
367 sym.callers.push_back(csym); in process()
368 sym.total_caller_count += cit->second; in process()
376 sym.callees.push_back(csym); in process()
377 sym.total_callee_count += cit->second; in process()
380 process_children(sym, threshold); in process()
384 cg_syms.push_back(&(*cg_syms_objs.insert(cg_syms_objs.end(), sym))); in process()
565 recorder.add(caller.sym, &callee.sym, arc_count); in add()