OSDN Git Service

sim: profile: implement --profile-file backend
authorvapier <vapier>
Thu, 22 Apr 2010 09:40:44 +0000 (09:40 +0000)
committervapier <vapier>
Thu, 22 Apr 2010 09:40:44 +0000 (09:40 +0000)
Need to update the sim_profile_print_bar() call after the common/ changes.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/frv/ChangeLog
sim/frv/profile.c

index b49321d..b35c659 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * profile.c (sim_profile_print_bar): Add cpu argument.
+
 2010-03-30  Mike Frysinger  <vapier@gentoo.org>
 
        * devices.c (device_error): Add const to message.
index 119ee16..551957f 100644 (file)
@@ -2042,7 +2042,7 @@ print_parallel (SIM_CPU *cpu, int verbose)
                                 max_name_len, slot_names[i],
                                 max_val < 10000 ? 5 : 10,
                                 COMMAS (INSNS_IN_SLOT (i)));
-                 sim_profile_print_bar (sd, PROFILE_HISTOGRAM_WIDTH,
+                 sim_profile_print_bar (sd, cpu, PROFILE_HISTOGRAM_WIDTH,
                                         INSNS_IN_SLOT (i),
                                         max_val);
                  sim_io_printf (sd, "\n");