From: Mike Frysinger Date: Thu, 22 Apr 2010 00:40:14 +0000 (+0000) Subject: sim: profile: implement --profile-file backend X-Git-Tag: sid-snapshot-20100501~105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f093db8c9ca5f6220cbf13b1f1c72b8d112e2852;p=external%2Fbinutils.git sim: profile: implement --profile-file backend The common/ code uses sim_cpu rather than SIM_CPU to avoid inter-header dependency issues, so follow convention to fix building some targets. Signed-off-by: Mike Frysinger --- diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index ae25963..1b0ac76 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,9 @@ 2010-04-21 Mike Frysinger + * sim-profile.h (sim_profile_print_bar): Use sim_cpu, not SIM_CPU. + +2010-04-21 Mike Frysinger + * sim-profile.c (profile_vprintf, profile_printf): New functions. (profile_print_pc): Convert sim_io_printf to profile_printf. (profile_print_insn): Likewise. diff --git a/sim/common/sim-profile.h b/sim/common/sim-profile.h index 04aea52..c97aa36 100644 --- a/sim/common/sim-profile.h +++ b/sim/common/sim-profile.h @@ -308,6 +308,6 @@ do { \ /* Misc. utilities. */ -extern void sim_profile_print_bar (SIM_DESC, SIM_CPU *, unsigned int, unsigned int, unsigned int); +extern void sim_profile_print_bar (SIM_DESC, sim_cpu *, unsigned int, unsigned int, unsigned int); #endif /* SIM_PROFILE_H */