/usr/share/systemtap/runtime/linux/autoconf-uprobe-get-pc.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 13 14 | #if defined(CONFIG_UTRACE)
#if defined(CONFIG_UPROBES) || defined(CONFIG_UPROBES_MODULE)
#include <linux/uprobes.h>
#else
#include "uprobes/uprobes.h"
#endif
unsigned long foo (struct uretprobe_instance *ri, unsigned long pc, unsigned long sp)
{
return uprobe_get_pc (ri, pc, sp);
}
#else
#error "need CONFIG_UTRACE" /* XXX: at least, uretprobe-capable uprobes */
#endif
|