Lines Matching refs:dso_name
64 def add_addr(self, dso_name, addr): argument
65 dso = self.dso_dict.get(dso_name)
67 self.dso_dict[dso_name] = dso = dict()
80 for dso_name in self.dso_dict.keys():
81 self._convert_addrs_to_lines(dso_name, self.dso_dict[dso_name])
85 def _convert_addrs_to_lines(self, dso_name, dso): argument
86 dso_path = self._find_dso_path(dso_name)
88 log_warning("can't find dso '%s'" % dso_name)
176 def get_sources(self, dso_name, addr): argument
177 dso = self.dso_dict.get(dso_name)
222 def __init__(self, dso_name): argument
223 self.dso_name = dso_name
340 self.addr2line.add_addr(symbol.dso_name, symbol.vaddr_in_file)
341 self.addr2line.add_addr(symbol.dso_name, symbol.symbol_addr)
359 if not self.dso_filter or symbol.dso_name in self.dso_filter:
413 self._add_dso_period(symbol.dso_name, period, used_dso_dict)
415 sources = self.addr2line.get_sources(symbol.dso_name, symbol.vaddr_in_file)
423 sources = self.addr2line.get_sources(symbol.dso_name, symbol.symbol_addr)
434 def _add_dso_period(self, dso_name, period, used_dso_dict): argument
435 if not used_dso_dict.has_key(dso_name):
436 used_dso_dict[dso_name] = True
437 dso_period = self.dso_periods.get(dso_name)
439 dso_period = self.dso_periods[dso_name] = DsoPeriod(dso_name)
473 f.write('dso %s: %s\n' % (dso_period.dso_name,