sim: profile: implement --profile-file backend
authorMike Frysinger <vapier@gentoo.org>
Thu, 22 Apr 2010 00:40:14 +0000 (00:40 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 22 Apr 2010 00:40:14 +0000 (00:40 +0000)
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>
sim/common/ChangeLog
sim/common/sim-profile.h

index ae259638ea5c1e627af393f4f25962f4cd2ec601..1b0ac7640a4abdad9a12d6a6ffb13e3dfc7ee546 100644 (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.
index 04aea527d40fc382728514c13adf8ea4ca1805ce..c97aa36dfa58112258567df794cb5390963cd9d7 100644 (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 */
This page took 0.028829 seconds and 4 git commands to generate.