Interface LocationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Location, Location.Builder

public interface LocationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The instruction address for this location, if available.
    long
    getAttributes(int index)
    References to attributes in Profile.attribute_table.
    int
    References to attributes in Profile.attribute_table.
    References to attributes in Profile.attribute_table.
    long
    Unique nonzero id for the location.
    boolean
    Provides an indication that multiple symbols map to this location's address, for example due to identical code folding by the linker.
    getLine(int index)
    Multiple line indicates this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.
    int
    Multiple line indicates this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.
    Multiple line indicates this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.
    getLineOrBuilder(int index)
    Multiple line indicates this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.
    List<? extends LineOrBuilder>
    Multiple line indicates this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.
    long
    The index of the corresponding profile.Mapping for this location.
    int
    Type of frame (e.g. kernel, native, python, hotspot, php).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getId

      long getId()
       Unique nonzero id for the location.  A profile could use
       instruction addresses or any integer sequence as ids. [deprecated]
       
      uint64 id = 1;
      Returns:
      The id.
    • getMappingIndex

      long getMappingIndex()
       The index of the corresponding profile.Mapping for this location.
       It can be unset if the mapping is unknown or not applicable for
       this profile type.
       
      uint64 mapping_index = 2;
      Returns:
      The mappingIndex.
    • getAddress

      long getAddress()
       The instruction address for this location, if available.  It
       should be within [Mapping.memory_start...Mapping.memory_limit]
       for the corresponding mapping. A non-leaf address may be in the
       middle of a call instruction. It is up to display tools to find
       the beginning of the instruction if necessary.
       
      uint64 address = 3;
      Returns:
      The address.
    • getLineList

      List<Line> getLineList()
       Multiple line indicates this location has inlined functions,
       where the last entry represents the caller into which the
       preceding entries were inlined.
      
       E.g., if memcpy() is inlined into printf:
          line[0].function_name == "memcpy"
          line[1].function_name == "printf"
       
      repeated .opentelemetry.proto.profiles.v1experimental.Line line = 4;
    • getLine

      Line getLine(int index)
       Multiple line indicates this location has inlined functions,
       where the last entry represents the caller into which the
       preceding entries were inlined.
      
       E.g., if memcpy() is inlined into printf:
          line[0].function_name == "memcpy"
          line[1].function_name == "printf"
       
      repeated .opentelemetry.proto.profiles.v1experimental.Line line = 4;
    • getLineCount

      int getLineCount()
       Multiple line indicates this location has inlined functions,
       where the last entry represents the caller into which the
       preceding entries were inlined.
      
       E.g., if memcpy() is inlined into printf:
          line[0].function_name == "memcpy"
          line[1].function_name == "printf"
       
      repeated .opentelemetry.proto.profiles.v1experimental.Line line = 4;
    • getLineOrBuilderList

      List<? extends LineOrBuilder> getLineOrBuilderList()
       Multiple line indicates this location has inlined functions,
       where the last entry represents the caller into which the
       preceding entries were inlined.
      
       E.g., if memcpy() is inlined into printf:
          line[0].function_name == "memcpy"
          line[1].function_name == "printf"
       
      repeated .opentelemetry.proto.profiles.v1experimental.Line line = 4;
    • getLineOrBuilder

      LineOrBuilder getLineOrBuilder(int index)
       Multiple line indicates this location has inlined functions,
       where the last entry represents the caller into which the
       preceding entries were inlined.
      
       E.g., if memcpy() is inlined into printf:
          line[0].function_name == "memcpy"
          line[1].function_name == "printf"
       
      repeated .opentelemetry.proto.profiles.v1experimental.Line line = 4;
    • getIsFolded

      boolean getIsFolded()
       Provides an indication that multiple symbols map to this location's
       address, for example due to identical code folding by the linker. In that
       case the line information above represents one of the multiple
       symbols. This field must be recomputed when the symbolization state of the
       profile changes.
       
      bool is_folded = 5;
      Returns:
      The isFolded.
    • getTypeIndex

      int getTypeIndex()
       Type of frame (e.g. kernel, native, python, hotspot, php). Index into string table.
       
      uint32 type_index = 6;
      Returns:
      The typeIndex.
    • getAttributesList

      List<Long> getAttributesList()
       References to attributes in Profile.attribute_table. [optional]
       
      repeated uint64 attributes = 7;
      Returns:
      A list containing the attributes.
    • getAttributesCount

      int getAttributesCount()
       References to attributes in Profile.attribute_table. [optional]
       
      repeated uint64 attributes = 7;
      Returns:
      The count of attributes.
    • getAttributes

      long getAttributes(int index)
       References to attributes in Profile.attribute_table. [optional]
       
      repeated uint64 attributes = 7;
      Parameters:
      index - The index of the element to return.
      Returns:
      The attributes at the given index.