From: Mike Frysinger Date: Thu, 22 Apr 2010 00:40:44 +0000 (+0000) Subject: sim: profile: implement --profile-file backend X-Git-Tag: sid-snapshot-20100501~104 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9bdfd293edb98758164839d762448433ebdafae;p=platform%2Fupstream%2Fbinutils.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 b49321d..b35c659 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 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");