parameters: (call_lines, startAddr, endAddr)
return_statement: return converted_calls
docstring: Converts the call addresses to static offsets and removes invalid calls.
  
    Removes profiled calls not in shared library using start and end virtual
    addresses, converts strings to integer values, coverts virtual addresses to
    address in shared library.
  
    Returns:
       list of calls as tuples (sec, msec, pid:tid, callee)
docstring_summary: Converts the call addresses to static offsets and removes invalid calls.
docstring_tokens: Converts the call addresses to static offsets and removes invalid calls .
function: def Convert (call_lines, startAddr, endAddr):
    """Converts the call addresses to static offsets and removes invalid calls.
  
    Removes profiled calls not in shared library using start and end virtual
    addresses, converts strings to integer values, coverts virtual addresses to
    address in shared library.
  
    Returns:
       list of calls as tuples (sec, msec, pid:tid, callee)
    """
    converted_calls = []
    call_addresses = []
    for fields in call_lines:
      secs = int (fields[0])
      msecs = int (fields[1])
      callee = int (fields[3], 16)
      # print ("callee: " + hex (callee) + " start: " + hex (startAddr) + " end: "
      #        + hex (endAddr))
      if (callee >= startAddr and callee < endAddr
          and (not callee in call_addresses)):
        converted_calls.append((secs, msecs, fields[2], (callee - startAddr)))
        call_addresses.append(callee)
    return converted_calls
function_tokens: def Convert ( call_lines , startAddr , endAddr ) : converted_calls = [ ] call_addresses = [ ] for fields in call_lines : secs = int ( fields [ 0 ] ) msecs = int ( fields [ 1 ] ) callee = int ( fields [ 3 ] , 16 ) # print ("callee: " + hex (callee) + " start: " + hex (startAddr) + " end: " #        + hex (endAddr)) if ( callee >= startAddr and callee < endAddr and ( not callee in call_addresses ) ) : converted_calls . append ( ( secs , msecs , fields [ 2 ] , ( callee - startAddr ) ) ) call_addresses . append ( callee ) return converted_calls