/usr/share/systemtap/runtime/linux/uprobes-inc.h is in systemtap-common 2.9-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | /* If uprobes isn't in the kernel, pull it in from the runtime. */
#ifndef _UPROBES_INC_H_
#define _UPROBES_INC_H_
#if defined(CONFIG_UTRACE) /* uprobes doesn't work without utrace */
#if defined(CONFIG_UPROBES) || defined(CONFIG_UPROBES_MODULE)
#include <linux/uprobes.h>
#else
#include "uprobes/uprobes.h"
#endif
#ifndef UPROBES_API_VERSION
#define UPROBES_API_VERSION 1
#endif
#else
struct uretprobe_instance { unsigned long ret_addr; };
#endif
#endif /* _UPROBES_INC_H_ */
|