Patchwork [12/18] instrument: [all] Include instrumentation helper declarations

login
register
mail settings
Submitter =?utf-8?Q?Llu=C3=ADs?=
Date Oct. 21, 2010, 8:55 p.m.
Message ID <f0ab9fd5b5c9e9ca3e4b1345585d0690324730e4.1287772676.git.vilanova@ac.upc.edu>
Download mbox | patch
Permalink /patch/68953/
State New
Headers show

Comments

=?utf-8?Q?Llu=C3=ADs?= - Oct. 21, 2010, 8:55 p.m.
---
 target-alpha/helper.h      |    4 ++++
 target-arm/helper.h        |    4 ++++
 target-cris/helper.h       |    4 ++++
 target-i386/helper.h       |    4 ++++
 target-m68k/helper.h       |    4 ++++
 target-microblaze/helper.h |    4 ++++
 target-mips/helper.h       |    4 ++++
 target-ppc/helper.h        |    4 ++++
 target-sh4/helper.h        |    4 ++++
 target-sparc/helper.h      |    4 ++++
 10 files changed, 40 insertions(+), 0 deletions(-)

Patch

diff --git a/target-alpha/helper.h b/target-alpha/helper.h
index d2ec252..4456205 100644
--- a/target-alpha/helper.h
+++ b/target-alpha/helper.h
@@ -127,4 +127,8 @@  DEF_HELPER_2(stq_c_raw, i64, i64, i64)
 #include "backdoor/helper.h"
 #endif
 
+#if defined(CONFIG_INSTRUMENT)
+#include "instrument-host-helpers.h"
+#endif
+
 #include "def-helper.h"
diff --git a/target-arm/helper.h b/target-arm/helper.h
index b46f04c..b1d24f7 100644
--- a/target-arm/helper.h
+++ b/target-arm/helper.h
@@ -451,4 +451,8 @@  DEF_HELPER_2(set_teecr, void, env, i32)
 #include "backdoor/helper.h"
 #endif
 
+#if defined(CONFIG_INSTRUMENT)
+#include "instrument-host-helpers.h"
+#endif
+
 #include "def-helper.h"
diff --git a/target-cris/helper.h b/target-cris/helper.h
index 72fabce..8f7e976 100644
--- a/target-cris/helper.h
+++ b/target-cris/helper.h
@@ -27,4 +27,8 @@  DEF_HELPER_0(top_evaluate_flags, void)
 #include "backdoor/helper.h"
 #endif
 
+#if defined(CONFIG_INSTRUMENT)
+#include "instrument-host-helpers.h"
+#endif
+
 #include "def-helper.h"
diff --git a/target-i386/helper.h b/target-i386/helper.h
index 979d94e..1b8e6e8 100644
--- a/target-i386/helper.h
+++ b/target-i386/helper.h
@@ -221,4 +221,8 @@  DEF_HELPER_2(rcrq, tl, tl, tl)
 #include "backdoor/helper.h"
 #endif
 
+#if defined(CONFIG_INSTRUMENT)
+#include "instrument-host-helpers.h"
+#endif
+
 #include "def-helper.h"
diff --git a/target-m68k/helper.h b/target-m68k/helper.h
index 06e8a47..523fde2 100644
--- a/target-m68k/helper.h
+++ b/target-m68k/helper.h
@@ -55,4 +55,8 @@  DEF_HELPER_1(raise_exception, void, i32)
 #include "backdoor/helper.h"
 #endif
 
+#if defined(CONFIG_INSTRUMENT)
+#include "instrument-host-helpers.h"
+#endif
+
 #include "def-helper.h"
diff --git a/target-microblaze/helper.h b/target-microblaze/helper.h
index 473ed78..6f8e274 100644
--- a/target-microblaze/helper.h
+++ b/target-microblaze/helper.h
@@ -38,4 +38,8 @@  DEF_HELPER_4(memalign, void, i32, i32, i32, i32)
 #include "backdoor/helper.h"
 #endif
 
+#if defined(CONFIG_INSTRUMENT)
+#include "instrument-host-helpers.h"
+#endif
+
 #include "def-helper.h"
diff --git a/target-mips/helper.h b/target-mips/helper.h
index cbee380..0953815 100644
--- a/target-mips/helper.h
+++ b/target-mips/helper.h
@@ -291,4 +291,8 @@  DEF_HELPER_0(wait, void)
 #include "backdoor/helper.h"
 #endif
 
+#if defined(CONFIG_INSTRUMENT)
+#include "instrument-host-helpers.h"
+#endif
+
 #include "def-helper.h"
diff --git a/target-ppc/helper.h b/target-ppc/helper.h
index eeb7487..960ba5e 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -405,4 +405,8 @@  DEF_HELPER_2(store_601_batu, void, i32, tl)
 #include "backdoor/helper.h"
 #endif
 
+#if defined(CONFIG_INSTRUMENT)
+#include "instrument-host-helpers.h"
+#endif
+
 #include "def-helper.h"
diff --git a/target-sh4/helper.h b/target-sh4/helper.h
index dbea9e1..361a15f 100644
--- a/target-sh4/helper.h
+++ b/target-sh4/helper.h
@@ -54,4 +54,8 @@  DEF_HELPER_1(ftrc_DT, i32, i64)
 #include "backdoor/helper.h"
 #endif
 
+#if defined(CONFIG_INSTRUMENT)
+#include "instrument-host-helpers.h"
+#endif
+
 #include "def-helper.h"
diff --git a/target-sparc/helper.h b/target-sparc/helper.h
index b88f0ac..a1f177c 100644
--- a/target-sparc/helper.h
+++ b/target-sparc/helper.h
@@ -164,4 +164,8 @@  DEF_HELPER_0(compute_C_icc, i32);
 #include "backdoor/helper.h"
 #endif
 
+#if defined(CONFIG_INSTRUMENT)
+#include "instrument-host-helpers.h"
+#endif
+
 #include "def-helper.h"