Interface LocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Location,Location.Builder
@Generated
public interface LocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe instruction address for this location, if available.intgetAttributeIndices(int index) References to attributes in ProfilesDictionary.attribute_table.intReferences to attributes in ProfilesDictionary.attribute_table.References to attributes in ProfilesDictionary.attribute_table.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.intMultiple 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.intReference to mapping in ProfilesDictionary.mapping_table.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMappingIndex
int getMappingIndex()Reference to mapping in ProfilesDictionary.mapping_table. It can be unset / set to 0 if the mapping is unknown or not applicable for this profile type, as mapping_table[0] is always a 'null' default mapping.
int32 mapping_index = 1;- 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 = 2;- Returns:
- The address.
-
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.v1development.Line line = 3; -
getLine
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.v1development.Line line = 3; -
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.v1development.Line line = 3; -
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.v1development.Line line = 3; -
getLineOrBuilder
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.v1development.Line line = 3; -
getAttributeIndicesList
References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 4;- Returns:
- A list containing the attributeIndices.
-
getAttributeIndicesCount
int getAttributeIndicesCount()References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 4;- Returns:
- The count of attributeIndices.
-
getAttributeIndices
int getAttributeIndices(int index) References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 4;- Parameters:
index- The index of the element to return.- Returns:
- The attributeIndices at the given index.
-