Sign in
◑
Theme
gdch-oss
/
third_party
/
8e0919c9a84bfc53f400a57354c79cd7e97192b4
/
.
/
runtime
/
linux
/
autoconf-walk-stack.c
blob: 720089c9949adb6c04ae619ac44471cc48fb2e6a [
file
]
/* Some kernels have an extra stacktrace_ops field walk_stack. */
#include
<linux/sched.h>
#include
<asm/stacktrace.h>
void
foo
(
void
);
void
foo
(
void
)
{
__attribute__
((
unused
))
struct
stacktrace_ops t
;
t
.
walk_stack
=
print_context_stack
;
}