Skip to content

Commit

Permalink
Use the canonical name for profile output
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlloyd committed Dec 17, 2010
1 parent 59c326d commit 2913295
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ private void writeProfileInfo(final char statusChar, final long startNanos, fina
try {
final long startOffset = startNanos - container.getStart();
final long duration = endNanos - startNanos;
profileOutput.write(String.format("%s\t%s\t%d\t%d\n", name, Character.valueOf(statusChar), Long.valueOf(startOffset), Long.valueOf(duration)));
profileOutput.write(String.format("%s\t%s\t%d\t%d\n", name.getCanonicalName(), Character.valueOf(statusChar), Long.valueOf(startOffset), Long.valueOf(duration)));
} catch (IOException e) {
// ignore
}
Expand Down

0 comments on commit 2913295

Please sign in to comment.