Search notes:
arch/x86/kernel/stacktrace.c
Stack trace management functions.
See also
arch/x86/kernel/dumpstack.c
/kernel/stacktrace.c
Index