tools/cygprofile/process_profiles.py
def GetReachedOffsetsFromDump(self, dump):
    """Find the symbol offsets from a list of binary offsets.

    The dump is a list offsets into a .text section. This finds the symbols
    which contain the dump offsets, and returns their offsets. Note that while
    usually a symbol offset corresponds to a single symbol, in some cases
    several symbols will map to the same offset. For that reason this function
    returns only the offset list. See cyglog_to_orderfile.py for computing more
    information about symbols.

    Args:
     dump: (int iterable) Dump offsets, for example as returned by MergeDumps().

    Returns:
      [int] Reached symbol offsets.
    """
    reached_offsets = []
    already_seen = set()
    def update(_, symbol_offset):
      if symbol_offset is None or symbol_offset in already_seen:
        return
      reached_offsets.append(symbol_offset)
      already_seen.add(symbol_offset)
    self._TranslateReachedOffsetsFromDump(dump, lambda x: x, update)
    return reached_offsets
Find the symbol offsets from a list of binary offsets.

    The dump is a list offsets into a .text section. This finds the symbols
    which contain the dump offsets, and returns their offsets. Note that while
    usually a symbol offset corresponds to a single symbol, in some cases
    several symbols will map to the same offset. For that reason this function
    returns only the offset list. See cyglog_to_orderfile.py for computing more
    information about symbols.

    Args:
     dump: (int iterable) Dump offsets, for example as returned by MergeDumps().

    Returns:
      [int] Reached symbol offsets.
    
Find the symbol offsets from a list of binary offsets.
The dump is a list offsets into a .text section. This finds the symbols
which contain the dump offsets, and returns their offsets. Note that while
usually a symbol offset corresponds to a single symbol, in some cases
several symbols will map to the same offset. For that reason this function
returns only the offset list. See cyglog_to_orderfile.py for computing more
information about symbols.
Find the symbol offsets from a list of binary offsets . The dump is a list offsets into a . text section . This finds the symbols which contain the dump offsets and returns their offsets . Note that while usually a symbol offset corresponds to a single symbol in some cases several symbols will map to the same offset . For that reason this function returns only the offset list . See cyglog_to_orderfile . py for computing more information about symbols .
def GetReachedOffsetsFromDump(self, dump):
    reached_offsets = []
    already_seen = set()
    def update(_, symbol_offset):
      if symbol_offset is None or symbol_offset in already_seen:
        return
      reached_offsets.append(symbol_offset)
      already_seen.add(symbol_offset)
    self._TranslateReachedOffsetsFromDump(dump, lambda x: x, update)
    return reached_offsets
def GetReachedOffsetsFromDump ( self , dump ) : reached_offsets = [ ] already_seen = set ( ) def update ( _ , symbol_offset ) : if symbol_offset is None or symbol_offset in already_seen : return reached_offsets . append ( symbol_offset ) already_seen . add ( symbol_offset ) self . _TranslateReachedOffsetsFromDump ( dump , lambda x : x , update ) return reached_offsets
Find the symbol offsets from a list of binary offsets.
Find the symbol offsets from a list of binary offsets .
"""Find the symbol offsets from a list of binary offsets.

    The dump is a list offsets into a .text section. This finds the symbols
    which contain the dump offsets, and returns their offsets. Note that while
    usually a symbol offset corresponds to a single symbol, in some cases
    several symbols will map to the same offset. For that reason this function
    returns only the offset list. See cyglog_to_orderfile.py for computing more
    information about symbols.

    Args:
     dump: (int iterable) Dump offsets, for example as returned by MergeDumps().

    Returns:
      [int] Reached symbol offsets.
    """
[int] Reached symbol offsets.
[ int ] Reached symbol offsets .
self
dump
(int iterable) Dump offsets, for example as returned by MergeDumps().
( int iterable ) Dump offsets for example as returned by MergeDumps () .