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:
parent
0d3d2c7158
commit
f093db8c9c
@ -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.
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user