-
Notifications
You must be signed in to change notification settings - Fork 966
Expand file tree
/
Copy pathLocationData.java
More file actions
36 lines (29 loc) · 929 Bytes
/
LocationData.java
File metadata and controls
36 lines (29 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.sdk.profiles;
import java.util.List;
import javax.annotation.concurrent.Immutable;
/**
* Describes function and line table debug information.
*
* @see "profiles.proto::Location"
*/
@Immutable
public interface LocationData {
/**
* The index of the corresponding profile.Mapping for this location. It can be 0 if the mapping is
* unknown or not applicable for this profile type.
*/
int getMappingIndex();
/** The instruction address for this location, if available. */
long getAddress();
/**
* Multiple line indicates this location has inlined functions, where the last entry represents
* the caller into which the preceding entries were inlined.
*/
List<LineData> getLines();
/** References to attributes in Profile.attribute_table. */
List<Integer> getAttributeIndices();
}