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 <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2010-04-22 00:40:14 +00:00
parent 0d3d2c7158
commit f093db8c9c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-04-21 Mike Frysinger <vapier@gentoo.org>
* sim-profile.h (sim_profile_print_bar): Use sim_cpu, not SIM_CPU.
2010-04-21 Mike Frysinger <vapier@gentoo.org>
* sim-profile.c (profile_vprintf, profile_printf): New functions.

View File

@ -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 */