diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-04-22 02:18:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-04-22 02:18:32 +0000 |
commit | ef93a840784b53c63dec9c1f39aa934c11740f8b (patch) | |
tree | 3efa059143f2c03aa8782624e4269fc78677d99d /sim/common/cgen-scache.c | |
parent | 3ac9b6c910daef1a01271f14f137862eb570a420 (diff) | |
download | gdb-ef93a840784b53c63dec9c1f39aa934c11740f8b.zip gdb-ef93a840784b53c63dec9c1f39aa934c11740f8b.tar.gz gdb-ef93a840784b53c63dec9c1f39aa934c11740f8b.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/common/cgen-scache.c')
-rw-r--r-- | sim/common/cgen-scache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/cgen-scache.c b/sim/common/cgen-scache.c index 82f57b4..d92ecac 100644 --- a/sim/common/cgen-scache.c +++ b/sim/common/cgen-scache.c @@ -466,7 +466,7 @@ scache_print_profile (SIM_CPU *cpu, int verbose) i, max_val < 10000 ? 5 : 10, sim_add_commas (buf, sizeof (buf), lengths[i])); - sim_profile_print_bar (sd, PROFILE_HISTOGRAM_WIDTH, + sim_profile_print_bar (sd, cpu, PROFILE_HISTOGRAM_WIDTH, lengths[i], max_val); sim_io_printf (sd, "\n"); } |