From f9bdfd293edb98758164839d762448433ebdafae Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 22 Apr 2010 00:40:44 +0000 Subject: [PATCH] sim: profile: implement --profile-file backend Need to update the sim_profile_print_bar() call after the common/ changes. Signed-off-by: Mike Frysinger --- sim/frv/ChangeLog | 4 ++++ sim/frv/profile.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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"); -- 2.30.2