Esempio n. 1
0
    def get(self):
        """Returns the prepared symbol data sources.

    Returns:
        The prepared symbol data sources.  None if failed.
    """
        if not self._prepared_symbol_data_sources_path and not self.prepare():
            return None
        if not self._loaded_symbol_data_sources:
            LOGGER.info("Loading symbol mapping...")
            self._loaded_symbol_data_sources = RuntimeSymbolsInProcess.load(self._prepared_symbol_data_sources_path)
        return self._loaded_symbol_data_sources
Esempio n. 2
0
File: dmprof.py Progetto: EQ4/h5vcc
    def get(self):
        """Returns the prepared symbol data sources.

    Returns:
        The prepared symbol data sources.  None if failed.
    """
        if not self._prepared_symbol_data_sources_path and not self.prepare():
            return None
        if not self._loaded_symbol_data_sources:
            LOGGER.info('Loading symbol mapping...')
            self._loaded_symbol_data_sources = RuntimeSymbolsInProcess.load(
                self._prepared_symbol_data_sources_path)
        return self._loaded_symbol_data_sources
Esempio n. 3
0
  def get(self):
    """Returns symbol mapping.

    Returns:
        Loaded symbol mapping.  None if failed.
    """
    if not self._prepared_symbol_mapping_path and not self.prepare():
      return None
    if not self._loaded_symbol_mapping:
      LOGGER.info('Loading symbol mapping...')
      self._loaded_symbol_mapping = RuntimeSymbolsInProcess.load(
          self._prepared_symbol_mapping_path)
    return self._loaded_symbol_mapping