/usr/share/systemtap/runtime/linux/autoconf-old-inode-uprobes.c 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 | #if defined(CONFIG_ARCH_SUPPORTS_UPROBES) && defined(CONFIG_UPROBES)
#include <linux/wait.h>
#include <linux/uprobes.h>
/* Check whether we have the old inode-uprobes api.
* (It was later changed to uprobe_register and uprobe_unregister.)
*/
void *reg = register_uprobe;
void *ureg = unregister_uprobe;
#else
#error "not an inode-uprobes kernel"
#endif
|