sim: profile: implement --profile-file backend
authorMike Frysinger <vapier@gentoo.org>
Thu, 22 Apr 2010 00:40:44 +0000 (00:40 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 22 Apr 2010 00:40:44 +0000 (00: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 b49321d2fd99ea14b7a4b655189546db24f605ee..b35c6595d8e42eb1681da99661062a5a58c2d8e0 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 119ee1614b2b70bbc184edb96f98b831c59b45bb..551957f5a696737024e194b6fe791dfae5839614 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");