summaryrefslogtreecommitdiffstats
path: root/runtime/user/emul.h
diff options
context:
space:
mode:
authorhunt <hunt>2005-05-18 00:16:33 +0000
committerhunt <hunt>2005-05-18 00:16:33 +0000
commit4ed11cee2365c604b3c2a39a846706cc0ae0ac1a (patch)
tree0743e2c0c4d85bc66b74835869464d1038fe03f1 /runtime/user/emul.h
parent43614f5d7e0d18f553c0ee2a4e195d7b8f63be1f (diff)
downloadsystemtap-steved-4ed11cee2365c604b3c2a39a846706cc0ae0ac1a.tar.gz
systemtap-steved-4ed11cee2365c604b3c2a39a846706cc0ae0ac1a.tar.xz
systemtap-steved-4ed11cee2365c604b3c2a39a846706cc0ae0ac1a.zip
User space test stuff.
Diffstat (limited to 'runtime/user/emul.h')
-rw-r--r--runtime/user/emul.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/user/emul.h b/runtime/user/emul.h
new file mode 100644
index 00000000..922c6e4c
--- /dev/null
+++ b/runtime/user/emul.h
@@ -0,0 +1,9 @@
+#define vscnprintf vsnprintf
+#define _stp_log printf
+
+#undef smp_processor_id
+#define smp_processor_id(x) 0
+
+#include <stdarg.h>
+unsigned long strtoul(const char *nptr, char **endptr, int base);
+#define simple_strtoul strtoul