]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Right-justifying event names instead of left-justifying; easier to read when
authorNicholas Nethercote <njn@valgrind.org>
Tue, 30 Apr 2002 11:34:54 +0000 (11:34 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 30 Apr 2002 11:34:54 +0000 (11:34 +0000)
large numbers are involved and the columns are wide.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@174

cachegrind/cg_annotate.in
vg_annotate.in

index b09cc3456385c0746e33b09ae4dd6855e9fe580a..1a532ca52d5120e75985823b97b82d0a8c4f8d87 100644 (file)
@@ -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 ");
     }
 }
 
index b09cc3456385c0746e33b09ae4dd6855e9fe580a..1a532ca52d5120e75985823b97b82d0a8c4f8d87 100644 (file)
@@ -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 ");
     }
 }