Skip to content

Commit

Permalink
[GR-61481] Fix tier_count values in CPU sampler JSON output.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixPSch committed Jan 20, 2025
1 parent bbdf41b commit aa3f3d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ private static JSONArray getSamplesRec(Collection<ProfilerNode<CPUSampler.Payloa
sample.put("self_tier_count", selfTierCount);
int[] tierCount = new int[payload.getNumberOfTiers()];
for (int i = 0; i < tierCount.length; i++) {
tierCount[i] = payload.getTierSelfCount(i);
tierCount[i] = payload.getTierTotalCount(i);
}
sample.put("tier_count", tierCount);
sample.put("children", getSamplesRec(node.getChildren()));
Expand Down

0 comments on commit aa3f3d3

Please sign in to comment.