aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-04-22 00:40:44 +0000
committerMike Frysinger <vapier@gentoo.org>2010-04-22 00:40:44 +0000
commitf9bdfd293edb98758164839d762448433ebdafae (patch)
treead48765f46042fd2f6889418307a6fbb7b6ef955 /sim
parentf093db8c9ca5f6220cbf13b1f1c72b8d112e2852 (diff)
downloadfsf-binutils-gdb-f9bdfd293edb98758164839d762448433ebdafae.zip
fsf-binutils-gdb-f9bdfd293edb98758164839d762448433ebdafae.tar.gz
fsf-binutils-gdb-f9bdfd293edb98758164839d762448433ebdafae.tar.bz2
sim: profile: implement --profile-file backend
Need to update the sim_profile_print_bar() call after the common/ changes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim')
-rw-r--r--sim/frv/ChangeLog4
-rw-r--r--sim/frv/profile.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index b49321d..b35c659 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/ChangeLog
@@ -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.
diff --git a/sim/frv/profile.c b/sim/frv/profile.c
index 119ee16..551957f 100644
--- a/sim/frv/profile.c
+++ b/sim/frv/profile.c
@@ -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");