kgdb_call_nmi_hook(9)
π NAME π
okay so bestie, welcome to kgdb_call_nmi_hook(9) from the Kernel API Manual β it's literally about calling kgdb_nmicallback() on the current CPU. periodt. π
β¨ SYNOPSIS β¨
void kgdb_call_nmi_hook (void *ignored );
π«Ά ARGUMENTS π«Ά
ignoredβ bestie, this parameter is only here to match the prototype. it's giving "I'm just vibing in the signature" energy. π
πΈ DESCRIPTION πΈ
so here's the tea: if you're using the default implementation of kgdb_roundup_cpus, this function will be called per CPU. no cap.
and if you don't implement kgdb_call_nmi_hook, a default will be used. literally that simple. π¦
π SEE ALSO π
- Kernel file
./include/linux/kgdb.h kgdb_skipexception(9)kgdb_breakpoint(9)kgdb_arch_init(9)kgdb_arch_exit(9)pt_regs_to_gdb_regs(9)sleeping_thread_to_gdb_regs(9)gdb_regs_to_pt_regs(9)kgdb_arch_handle_exception(9)kgdb_arch_handle_qxfer_pkt(9)kgdb_roundup_cpus(9)kgdb_arch_set_pc(9)kgdb_arch_late(9)struct kgdb_arch(9)struct kgdb_io(9)
xoxo, signing off from ./include/linux β October 2026 πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms