STRUCT KFD_IOCTL_DBG_TRAP_SET_EXCEPTIONS_ENABLED_ARGS(9)
πΈ NAME πΈ
struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args β okay so this is literally the arguments struct for KFD_IOC_SET_EXCEPTIONS_ENABLED. That's it. That's the whole vibe. It's a Kernel API Manual situation, bestie, and we're in the kfd cinematic universe now π¬
β¨ SYNOPSIS β¨
Like, the entire struct is this. One (1) member. Minimalist queen π
struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args {
__u64 exception_mask;
};
π Members π
exception_maskβ this one's marked (IN), and it's the new exceptions you wanna raise to the debugger. That's the whole assignment. That's the job. π«Ά
π¦ Description π¦
So what does it do? It sets new exceptions to be raised to the debugger. Simple. Iconic. No notes. β¨
Heads up though β generic errors apply (go peek atkfd_dbg_trap_operationsfor the deets, iykyk). And it returns0onSUCCESS. That's the happy path, bestie, protect it at all costs π
π SEE ALSO π
Time for the friend group roll call, because this struct does not exist in isolation, no cap:
- Kernel file
./include/uapi/linux/kfd_ioctl.h struct kfd_ioctl_criu_args(9)enum kfd_ioctl_svm_op(9)enum kfd_ioctl_svm_attr_type(9)struct kfd_ioctl_svm_attribute(9)struct kfd_ioctl_svm_args(9)struct kfd_ioctl_set_xnack_mode_args(9)struct kfd_ioctl_runtime_enable_args(9)struct kfd_ioctl_dbg_trap_enable_args(9)struct kfd_ioctl_dbg_trap_send_runtime_event_args(9)struct kfd_ioctl_dbg_trap_set_wave_launch_override_args(9)struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args(9)struct kfd_ioctl_dbg_trap_suspend_queues_args(9)struct kfd_ioctl_dbg_trap_resume_queues_args(9)struct kfd_ioctl_dbg_trap_set_node_address_watch_args(9)struct kfd_ioctl_dbg_trap_clear_node_address_watch_args(9)struct kfd_ioctl_dbg_trap_set_flags_args(9)struct kfd_ioctl_dbg_trap_query_debug_event_args(9)struct kfd_ioctl_dbg_trap_query_exception_info_args(9)struct kfd_ioctl_dbg_trap_queue_snapshot_args(9)struct kfd_ioctl_dbg_trap_device_snapshot_args(9)struct kfd_ioctl_dbg_trap_args(9)struct kfd_ioctl_pmc_settings(9)
and that's the post π«Ά this little page lives in ./include/uapi/linux, dated October 2026, and it's filed under struct kfd_...enabled_args(9). go off, king ππ
π¦ 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