Search notes:
arch/x86/kernel/dumpstack.c
See also
arch/x86/kernel/stacktrace.c
Index