/usr/share/systemtap/runtime/linux/autoconf-walk-stack.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 | /* Some kernels have an extra stacktrace_ops field walk_stack. */
#include <linux/sched.h>
#include <asm/stacktrace.h>
void foo (void)
{
struct stacktrace_ops t;
t.walk_stack = print_context_stack;
(void) t;
}
|