From: Nicholas Nethercote Date: Tue, 30 Apr 2002 11:34:54 +0000 (+0000) Subject: Right-justifying event names instead of left-justifying; easier to read when X-Git-Tag: svn/VALGRIND_1_0_3~278 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee24852e5a28d9649aa68a28fdc8f6df425ea982;p=thirdparty%2Fvalgrind.git Right-justifying event names instead of left-justifying; easier to read when large numbers are involved and the columns are wide. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@174 --- diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in index b09cc34563..1a532ca52d 100644 --- a/cachegrind/cg_annotate.in +++ b/cachegrind/cg_annotate.in @@ -569,7 +569,7 @@ sub print_events ($) my $event_width = length($event); my $col_width = $CC_col_widths->[$i]; my $space = ' ' x ($col_width - $event_width); - print("$event$space "); + print("$space$event "); } } diff --git a/vg_annotate.in b/vg_annotate.in index b09cc34563..1a532ca52d 100644 --- a/vg_annotate.in +++ b/vg_annotate.in @@ -569,7 +569,7 @@ sub print_events ($) my $event_width = length($event); my $col_width = $CC_col_widths->[$i]; my $space = ' ' x ($col_width - $event_width); - print("$event$space "); + print("$space$event "); } }