diff options
author | hunt <hunt> | 2005-05-18 00:16:33 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-05-18 00:16:33 +0000 |
commit | 4ed11cee2365c604b3c2a39a846706cc0ae0ac1a (patch) | |
tree | 0743e2c0c4d85bc66b74835869464d1038fe03f1 /runtime/user/runtime.h | |
parent | 43614f5d7e0d18f553c0ee2a4e195d7b8f63be1f (diff) | |
download | systemtap-steved-4ed11cee2365c604b3c2a39a846706cc0ae0ac1a.tar.gz systemtap-steved-4ed11cee2365c604b3c2a39a846706cc0ae0ac1a.tar.xz systemtap-steved-4ed11cee2365c604b3c2a39a846706cc0ae0ac1a.zip |
User space test stuff.
Diffstat (limited to 'runtime/user/runtime.h')
-rw-r--r-- | runtime/user/runtime.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/runtime/user/runtime.h b/runtime/user/runtime.h new file mode 100644 index 00000000..38778b86 --- /dev/null +++ b/runtime/user/runtime.h @@ -0,0 +1,39 @@ +#ifndef _RUNTIME_H_ +#define _RUNTIME_H_ +/** @file runtime.h + * @brief Main include file for runtime functions. + */ + +#define __KERNEL__ +#include <linux/module.h> +#include <linux/kernel.h> +#include <linux/miscdevice.h> +#include <linux/init.h> +#include <linux/hash.h> +#include <linux/kprobes.h> +#include <linux/proc_fs.h> +#include <linux/vmalloc.h> +#include <linux/time.h> +#include <linux/spinlock.h> +#include <asm/uaccess.h> +#include <linux/kallsyms.h> + + +#ifdef DEBUG +#define dbug(args...) \ + { \ + printf("%s:%d: ", __FUNCTION__, __LINE__); \ + printf(args); \ + } +#else +#define dbug(args...) ; +#endif + +#include "emul.h" + +#undef memcpy +#define memcpy __builtin_memcpy + +#include "print.c" + +#endif /* _RUNTIME_H_ */ |