Skip to content

Commit

Permalink
Fix arg name for ACTION_COUNTS in Profiler.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 347821616
  • Loading branch information
Googler authored and copybara-github committed Dec 16, 2020
1 parent 8609599 commit c5f87ea
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,12 @@ public void run() {
writer.name("args");

writer.beginObject();
writer.name("cpu").value(data.description);
if (data.type == ProfilerTask.LOCAL_CPU_USAGE) {
writer.name("cpu").value(data.description);
} else {
writer.name("action").value(data.description);
}

writer.endObject();

writer.endObject();
Expand Down

0 comments on commit c5f87ea

Please sign in to comment.