Skip to content

Commit

Permalink
Add exporter data classes for experimental profiling signal type.
Browse files Browse the repository at this point in the history
Changes addressing code review comments.
  • Loading branch information
jhalliday committed May 17, 2024
1 parent a84e2f9 commit bda144f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@
@Immutable
public interface FunctionData {

/**
* Unique nonzero id for the function.
*
* @deprecated retained only for pprof compatibility.
*/
@Deprecated
long getId();

/** Name of the function, in human-readable form if available. Index into string table. */
long getNameIndex();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@
@Immutable
public interface LocationData {

/**
* Unique nonzero id for the location. Could use instruction addresses or any integer sequence as
* ids.
*
* @deprecated retained only for pprof compatibility.
*/
@Deprecated
long getId();

/**
* 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@
@Immutable
public interface MappingData {

/**
* Unique nonzero id for the mapping.
*
* @deprecated retained only for pprof compatibility.
*/
@Deprecated
long getId();

/** Address at which the binary (or DLL) is loaded into memory. */
long getMemoryStart();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@
@Immutable
public interface SampleData {

/**
* The indices recorded here correspond to locations in Profile.location. The leaf is at
* location_index[0].
*
* @deprecated superseded by locations_start_index / locations_length
*/
@Deprecated
List<Long> getLocationIndices();

/**
* locationsStartIndex along with locationsLength refers to a slice of locations in
* Profile.location. Supersedes locationIndices.
Expand All @@ -50,10 +41,6 @@ public interface SampleData {
*/
List<Long> getValues();

/** Additional context for this sample. It can include thread id, allocation size, etc. */
@Deprecated
List<LabelData> getLabels();

/** References to attributes in Profile.attribute_table. */
List<Long> getAttributes();

Expand Down

0 comments on commit bda144f

Please sign in to comment.