aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/injection_point.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/injection_point.h')
-rw-r--r--src/include/utils/injection_point.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/utils/injection_point.h b/src/include/utils/injection_point.h
index bd3a62425c3..a385e3df649 100644
--- a/src/include/utils/injection_point.h
+++ b/src/include/utils/injection_point.h
@@ -17,9 +17,11 @@
#ifdef USE_INJECTION_POINTS
#define INJECTION_POINT_LOAD(name) InjectionPointLoad(name)
#define INJECTION_POINT(name) InjectionPointRun(name)
+#define INJECTION_POINT_CACHED(name) InjectionPointCached(name)
#else
#define INJECTION_POINT_LOAD(name) ((void) name)
#define INJECTION_POINT(name) ((void) name)
+#define INJECTION_POINT_CACHED(name) ((void) name)
#endif
/*
@@ -38,6 +40,7 @@ extern void InjectionPointAttach(const char *name,
int private_data_size);
extern void InjectionPointLoad(const char *name);
extern void InjectionPointRun(const char *name);
+extern void InjectionPointCached(const char *name);
extern bool InjectionPointDetach(const char *name);
#endif /* INJECTION_POINT_H */