From: Mike Frysinger Date: Thu, 22 Apr 2010 00:40:44 +0000 (+0000) Subject: sim: profile: implement --profile-file backend X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9bdfd293edb98758164839d762448433ebdafae;p=binutils-gdb.git sim: profile: implement --profile-file backend Need to update the sim_profile_print_bar() call after the common/ changes. Signed-off-by: Mike Frysinger --- diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog index b49321d2fd9..b35c6595d8e 100644 --- a/sim/frv/ChangeLog +++ b/sim/frv/ChangeLog @@ -1,3 +1,7 @@ +2010-04-21 Mike Frysinger + + * profile.c (sim_profile_print_bar): Add cpu argument. + 2010-03-30 Mike Frysinger * devices.c (device_error): Add const to message. diff --git a/sim/frv/profile.c b/sim/frv/profile.c index 119ee1614b2..551957f5a69 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");